| Index: third_party/WebKit/Source/web/WebKit.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebKit.cpp b/third_party/WebKit/Source/web/WebKit.cpp
|
| index 3fa474fa4fd4cc62daa165da2db647021f935768..c47d5fdfa7e03bc4baed74bfd65d9c37427c2ee1 100644
|
| --- a/third_party/WebKit/Source/web/WebKit.cpp
|
| +++ b/third_party/WebKit/Source/web/WebKit.cpp
|
| @@ -116,10 +116,6 @@ void initialize(Platform* platform)
|
| ASSERT(!s_endOfTaskRunner);
|
| s_endOfTaskRunner = new EndOfTaskRunner;
|
| currentThread->addTaskObserver(s_endOfTaskRunner);
|
| -
|
| - // Register web cache dump provider for tracing.
|
| - platform->registerMemoryDumpProvider(WebCacheMemoryDumpProvider::instance(), "MemoryCache");
|
| - platform->registerMemoryDumpProvider(FontCacheMemoryDumpProvider::instance(), "FontCaches");
|
| }
|
| }
|
|
|
| @@ -190,9 +186,6 @@ void shutdown()
|
|
|
| // currentThread() is null if we are running on a thread without a message loop.
|
| if (Platform::current()->currentThread()) {
|
| - Platform::current()->unregisterMemoryDumpProvider(WebCacheMemoryDumpProvider::instance());
|
| - Platform::current()->unregisterMemoryDumpProvider(FontCacheMemoryDumpProvider::instance());
|
| -
|
| // We don't need to (cannot) remove s_endOfTaskRunner from the current
|
| // message loop, because the message loop is already destructed before
|
| // the shutdown() is called.
|
|
|