diff --git a/v8/include/cppgc/internal/persistent-node.h b/v8/include/cppgc/internal/persistent-node.h --- a/v8/include/cppgc/internal/persistent-node.h +++ b/v8/include/cppgc/internal/persistent-node.h @@ -159,7 +159,7 @@ class V8_EXPORT PersistentRegion final : public PersistentRegionBase { } V8_INLINE void FreeNode(PersistentNode* node) { - CPPGC_DCHECK(IsCreationThread()); + CPPGC_CHECK(IsCreationThread()); PersistentRegionBase::FreeNode(node); }