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

Unified Diff: Source/heap/Heap.h

Issue 171843002: [oilpan] Remove GC_INFO_{DEFINE,DECLARE} macros (Closed) Base URL: svn://svn.chromium.org/blink/branches/oilpan
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
Index: Source/heap/Heap.h
diff --git a/Source/heap/Heap.h b/Source/heap/Heap.h
index fc33ea753251977577db8e47a28ddded6a05469d..8230565f320ce0d5c17d1effb911670e044517ee 100644
--- a/Source/heap/Heap.h
+++ b/Source/heap/Heap.h
@@ -895,6 +895,9 @@ public:
protected:
HeapAllocated() { ASSERT(ThreadStateFor<ThreadingTrait<T>::Affinity>::State()->contains(reinterpret_cast<Address>(this))); }
~HeapAllocated() { }
+
+public:
+ typedef T HeapAllocatedBase;
};
// Forward declaration.
@@ -919,6 +922,7 @@ protected:
{
static_cast<T*>(this)->~T();
}
+ template<typename Any> friend struct FinalizerTrait;
kouhei (in TOK) 2014/02/19 02:02:53 Maybe this can be made public? all override of thi
zerny-chromium 2014/02/19 09:44:48 If this is the only friend declaration we need (ie
HeapAllocatedFinalized() { }
~HeapAllocatedFinalized() { }
« no previous file with comments | « Source/core/css/CSSValuePool.h ('k') | Source/heap/Visitor.h » ('j') | Source/heap/Visitor.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698