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

Unified Diff: Source/platform/exported/Platform.cpp

Issue 1149673002: Adding blink gc memory dump infrastructure for thread specific dumps. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixing nits. Created 5 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
Index: Source/platform/exported/Platform.cpp
diff --git a/Source/platform/exported/Platform.cpp b/Source/platform/exported/Platform.cpp
index 5f22defe5cb634e309ff135b4feb0f7721094521..d5f1e2eae9f75c35bb7e0250fa57bfeada4ed7c6 100644
--- a/Source/platform/exported/Platform.cpp
+++ b/Source/platform/exported/Platform.cpp
@@ -51,7 +51,6 @@ 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());
- s_platform->registerMemoryDumpProvider(BlinkGCMemoryDumpProvider::instance());
}
}
@@ -59,7 +58,6 @@ void Platform::shutdown()
{
if (s_platform->m_mainThread) {
s_platform->unregisterMemoryDumpProvider(PartitionAllocMemoryDumpProvider::instance());
- s_platform->unregisterMemoryDumpProvider(BlinkGCMemoryDumpProvider::instance());
}
if (s_platform)
« no previous file with comments | « no previous file | Source/platform/heap/BlinkGCMemoryDumpProvider.h » ('j') | Source/platform/heap/BlinkGCMemoryDumpProvider.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698