Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(115)

Unified Diff: third_party/WebKit/Source/core/CoreInitializer.cpp

Issue 1999613002: Move WebCacheMemoryDumpProvider to platform (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix link error on win Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/core.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/CoreInitializer.cpp
diff --git a/third_party/WebKit/Source/core/CoreInitializer.cpp b/third_party/WebKit/Source/core/CoreInitializer.cpp
index 009f4dd7722ea5f4c52eaa4f23e61434b9b0bb40..3c1c3843b16f14ba90b78695362d0e773b0e0454 100644
--- a/third_party/WebKit/Source/core/CoreInitializer.cpp
+++ b/third_party/WebKit/Source/core/CoreInitializer.cpp
@@ -49,7 +49,6 @@
#include "core/dom/StyleChangeReason.h"
#include "core/events/EventFactory.h"
#include "core/fetch/FetchInitiatorTypeNames.h"
-#include "core/fetch/WebCacheMemoryDumpProvider.h"
#include "core/html/canvas/CanvasRenderingContextFactory.h"
#include "core/html/parser/HTMLParserThread.h"
#include "core/workers/WorkerThread.h"
@@ -138,8 +137,6 @@ void CoreInitializer::initialize()
StringImpl::freezeStaticStrings();
- Platform::current()->registerMemoryDumpProvider(WebCacheMemoryDumpProvider::instance(), "MemoryCache");
-
// Creates HTMLParserThread::shared and ScriptStreamerThread::shared, but
// does not start the threads.
HTMLParserThread::init();
@@ -157,8 +154,6 @@ void CoreInitializer::shutdown()
ASSERT(Platform::current());
HTMLParserThread::shutdown();
- Platform::current()->unregisterMemoryDumpProvider(WebCacheMemoryDumpProvider::instance());
-
WorkerThread::terminateAndWaitForAllWorkers();
}
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/core.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698