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

Unified Diff: Source/heap/Heap.h

Issue 169293002: Oilpan: Remove GC_INFO_{DEFINE,DECLARE} macros (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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
« no previous file with comments | « no previous file | Source/heap/Visitor.h » ('j') | Source/heap/Visitor.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/heap/Heap.h
diff --git a/Source/heap/Heap.h b/Source/heap/Heap.h
index 340ba5b8a57eb1fcee8f2bc1d1f10485ac9dac57..c32b6df3162b059d3983eb59313d0e7bacc12556 100644
--- a/Source/heap/Heap.h
+++ b/Source/heap/Heap.h
@@ -860,6 +860,8 @@ class GarbageCollected {
void* operator new[](size_t size);
void operator delete[](void* p);
public:
+ typedef T GarbageCollectedBase;
+
void* operator new(size_t size)
{
return Heap::allocate<T>(size);
« no previous file with comments | « no previous file | Source/heap/Visitor.h » ('j') | Source/heap/Visitor.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698