Index: third_party/WebKit/Source/platform/heap/Heap.h |
diff --git a/third_party/WebKit/Source/platform/heap/Heap.h b/third_party/WebKit/Source/platform/heap/Heap.h |
index e6dd3ffdc86abe9cde613779482bc4b78e05aee2..933037838926c0f9edaac48ea464a3892636c7b1 100644 |
--- a/third_party/WebKit/Source/platform/heap/Heap.h |
+++ b/third_party/WebKit/Source/platform/heap/Heap.h |
@@ -42,6 +42,7 @@ |
#include "wtf/Assertions.h" |
#include "wtf/Atomics.h" |
#include "wtf/Forward.h" |
+#include <memory> |
namespace blink { |
@@ -403,15 +404,15 @@ private: |
RecursiveMutex m_threadAttachMutex; |
ThreadStateSet m_threads; |
ThreadHeapStats m_stats; |
- OwnPtr<RegionTree> m_regionTree; |
- OwnPtr<HeapDoesNotContainCache> m_heapDoesNotContainCache; |
- OwnPtr<SafePointBarrier> m_safePointBarrier; |
- OwnPtr<FreePagePool> m_freePagePool; |
- OwnPtr<OrphanedPagePool> m_orphanedPagePool; |
- OwnPtr<CallbackStack> m_markingStack; |
- OwnPtr<CallbackStack> m_postMarkingCallbackStack; |
- OwnPtr<CallbackStack> m_globalWeakCallbackStack; |
- OwnPtr<CallbackStack> m_ephemeronStack; |
+ std::unique_ptr<RegionTree> m_regionTree; |
+ std::unique_ptr<HeapDoesNotContainCache> m_heapDoesNotContainCache; |
+ std::unique_ptr<SafePointBarrier> m_safePointBarrier; |
+ std::unique_ptr<FreePagePool> m_freePagePool; |
+ std::unique_ptr<OrphanedPagePool> m_orphanedPagePool; |
+ std::unique_ptr<CallbackStack> m_markingStack; |
+ std::unique_ptr<CallbackStack> m_postMarkingCallbackStack; |
+ std::unique_ptr<CallbackStack> m_globalWeakCallbackStack; |
+ std::unique_ptr<CallbackStack> m_ephemeronStack; |
BlinkGC::GCReason m_lastGCReason; |
static ThreadHeap* s_mainThreadHeap; |