| Index: third_party/WebKit/Source/platform/heap/Heap.cpp
|
| diff --git a/third_party/WebKit/Source/platform/heap/Heap.cpp b/third_party/WebKit/Source/platform/heap/Heap.cpp
|
| index f61dc9eb9f29c4a113fb9f71116f6250b84dcedd..20f9eb4da81333364cf4090116dc281dd40f13e1 100644
|
| --- a/third_party/WebKit/Source/platform/heap/Heap.cpp
|
| +++ b/third_party/WebKit/Source/platform/heap/Heap.cpp
|
| @@ -41,8 +41,6 @@
|
| #include "platform/heap/SafePoint.h"
|
| #include "platform/heap/ThreadState.h"
|
| #include "public/platform/Platform.h"
|
| -#include "public/platform/WebMemoryAllocatorDump.h"
|
| -#include "public/platform/WebProcessMemoryDump.h"
|
| #include "wtf/Assertions.h"
|
| #include "wtf/DataLog.h"
|
| #include "wtf/LeakAnnotations.h"
|
| @@ -175,13 +173,13 @@ void Heap::init()
|
| GCInfoTable::init();
|
|
|
| if (Platform::current() && Platform::current()->currentThread())
|
| - Platform::current()->registerMemoryDumpProvider(BlinkGCMemoryDumpProvider::instance());
|
| + base::trace_event::MemoryDumpProvider::RegisterOnCurrentThread(BlinkGCMemoryDumpProvider::instance());
|
| }
|
|
|
| void Heap::shutdown()
|
| {
|
| if (Platform::current() && Platform::current()->currentThread())
|
| - Platform::current()->unregisterMemoryDumpProvider(BlinkGCMemoryDumpProvider::instance());
|
| + base::trace_event::MemoryDumpProvider::Unregister(BlinkGCMemoryDumpProvider::instance());
|
| s_shutdownCalled = true;
|
| ThreadState::shutdownHeapIfNecessary();
|
| }
|
|
|