| 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 4921ba561e3f7e7e50fefc688d7ef15a01a11409..94eee5281ad3db7215b23f8fccc9b29ae51a18d3 100644
|
| --- a/third_party/WebKit/Source/web/WebKit.cpp
|
| +++ b/third_party/WebKit/Source/web/WebKit.cpp
|
| @@ -37,7 +37,6 @@
|
| #include "core/Init.h"
|
| #include "core/animation/AnimationClock.h"
|
| #include "core/dom/Microtask.h"
|
| -#include "core/fetch/WebCacheMemoryDumpProvider.h"
|
| #include "core/frame/Settings.h"
|
| #include "core/page/Page.h"
|
| #include "core/workers/WorkerGlobalScopeProxy.h"
|
| @@ -48,7 +47,6 @@
|
| #include "platform/Logging.h"
|
| #include "platform/RuntimeEnabledFeatures.h"
|
| #include "platform/ThreadSafeFunctional.h"
|
| -#include "platform/fonts/FontCacheMemoryDumpProvider.h"
|
| #include "platform/graphics/ImageDecodingStore.h"
|
| #include "platform/heap/GCTaskRunner.h"
|
| #include "platform/heap/Heap.h"
|
| @@ -112,10 +110,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 +180,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.
|
|
|