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

Unified Diff: third_party/WebKit/Source/platform/heap/BlinkGCMemoryDumpProvider.cpp

Issue 1660383002: Refactoring: Move some classes from content/child to platform (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add PLATFORM_EXPORT; Address haraken's review Created 4 years, 10 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: third_party/WebKit/Source/platform/heap/BlinkGCMemoryDumpProvider.cpp
diff --git a/third_party/WebKit/Source/platform/heap/BlinkGCMemoryDumpProvider.cpp b/third_party/WebKit/Source/platform/heap/BlinkGCMemoryDumpProvider.cpp
index abd9b811a168cfcc63542156b95198913b9414c0..18583ccf19d469834b67c0ad7c637cbd55205f71 100644
--- a/third_party/WebKit/Source/platform/heap/BlinkGCMemoryDumpProvider.cpp
+++ b/third_party/WebKit/Source/platform/heap/BlinkGCMemoryDumpProvider.cpp
@@ -8,9 +8,9 @@
#include "base/trace_event/heap_profiler_allocation_register.h"
#include "base/trace_event/trace_event_memory_overhead.h"
#include "platform/heap/Handle.h"
+#include "platform/web_process_memory_dump_impl.h"
#include "public/platform/Platform.h"
#include "public/platform/WebMemoryAllocatorDump.h"
-#include "public/platform/WebProcessMemoryDump.h"
#include "wtf/StdLibExtras.h"
#include "wtf/Threading.h"
@@ -109,7 +109,7 @@ void BlinkGCMemoryDumpProvider::clearProcessDumpForCurrentGC()
}
BlinkGCMemoryDumpProvider::BlinkGCMemoryDumpProvider()
- : m_currentProcessMemoryDump(adoptPtr(Platform::current()->createProcessMemoryDump()))
+ : m_currentProcessMemoryDump(adoptPtr(new WebProcessMemoryDumpImpl()))
, m_isHeapProfilingEnabled(false)
{
}

Powered by Google App Engine
This is Rietveld 408576698