Index: third_party/WebKit/Source/platform/exported/Platform.cpp |
diff --git a/third_party/WebKit/Source/platform/exported/Platform.cpp b/third_party/WebKit/Source/platform/exported/Platform.cpp |
index 2b2ccb844556789f76c7a95a312bf5460fffa513..bd919266d0a61bc0fba3d7707b544725572b1690 100644 |
--- a/third_party/WebKit/Source/platform/exported/Platform.cpp |
+++ b/third_party/WebKit/Source/platform/exported/Platform.cpp |
@@ -49,13 +49,13 @@ void Platform::initialize(Platform* platform) |
// TODO(ssid): remove this check after fixing crbug.com/486782. |
if (s_platform && s_platform->m_mainThread) |
- s_platform->registerMemoryDumpProvider(PartitionAllocMemoryDumpProvider::instance()); |
+ base::trace_event::MemoryDumpProvider::RegisterOnCurrentThread(PartitionAllocMemoryDumpProvider::instance()); |
} |
void Platform::shutdown() |
{ |
if (s_platform->m_mainThread) |
- s_platform->unregisterMemoryDumpProvider(PartitionAllocMemoryDumpProvider::instance()); |
+ base::trace_event::MemoryDumpProvider::Unregister(PartitionAllocMemoryDumpProvider::instance()); |
if (s_platform) |
s_platform->m_mainThread = 0; |