| 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 6640dd3d0ac50fd572ea95e4c5a4a59eeef336cb..f13fde4b4a79f36bfbb966799fc825f8f5f7a265 100644
|
| --- a/third_party/WebKit/Source/web/WebKit.cpp
|
| +++ b/third_party/WebKit/Source/web/WebKit.cpp
|
| @@ -112,10 +112,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");
|
| }
|
| }
|
|
|
| @@ -186,9 +182,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.
|
|
|