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() { } |