Index: Source/platform/heap/GarbageCollected.h |
diff --git a/Source/platform/heap/GarbageCollected.h b/Source/platform/heap/GarbageCollected.h |
index eeae21fd15849368198d83ed5ec1875d0b6eee6a..87367ea4fbba7a5be5c2dbb5f6a47e58d8db7da9 100644 |
--- a/Source/platform/heap/GarbageCollected.h |
+++ b/Source/platform/heap/GarbageCollected.h |
@@ -162,7 +162,7 @@ public: |
GC_PLUGIN_IGNORE("crbug.com/456823") NO_SANITIZE_UNRELATED_CAST \ |
void* operator new(size_t size) \ |
{ \ |
- void* object = TYPE::allocateObject(size); \ |
+ void* object = TYPE::allocateObject(size, IsEagerlyFinalizedType<TYPE>::value); \ |
ThreadState* state = ThreadStateFor<ThreadingTrait<TYPE>::Affinity>::state(); \ |
state->enterGCForbiddenScopeIfNeeded(&(reinterpret_cast<TYPE*>(object)->m_mixinConstructorMarker)); \ |
return object; \ |