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

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: fixheaptest 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 | « Source/core/xml/XSLTProcessor.cpp ('k') | Source/heap/HeapTest.cpp » ('j') | no next file with comments »
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 3f2c323215bba5aa959345711c149aab48ab9f66..e970e62b0c80b1f165a749d4ecaab3bb9f18cd1b 100644
--- a/Source/heap/Heap.h
+++ b/Source/heap/Heap.h
@@ -861,6 +861,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 | « Source/core/xml/XSLTProcessor.cpp ('k') | Source/heap/HeapTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698