Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2042)

Unified Diff: Source/platform/heap/GarbageCollected.h

Issue 1157933002: Oilpan: introduce eager finalization. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove HeapIndexTrait + tidy up Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/platform/heap/GarbageCollected.h
diff --git a/Source/platform/heap/GarbageCollected.h b/Source/platform/heap/GarbageCollected.h
index 839b68561a49bbc5b5b2f8064a8e1086b3866c64..2b965f392226042dca8ae59f8c731e263c26daa7 100644
--- a/Source/platform/heap/GarbageCollected.h
+++ b/Source/platform/heap/GarbageCollected.h
@@ -169,7 +169,7 @@ public:
GC_PLUGIN_IGNORE("crbug.com/456823") \
void* operator new(size_t size) \
{ \
- void* object = TYPE::allocateObject(size); \
+ void* object = TYPE::allocateObject(size, IsEagerlyFinalizedType<TYPE>::value); \
forbidGCDuringConstruction(object); \
return object; \
} \

Powered by Google App Engine
This is Rietveld 408576698