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

Unified Diff: third_party/WebKit/Source/platform/heap/BlinkGCMemoryDumpProviderTest.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/BlinkGCMemoryDumpProviderTest.cpp
diff --git a/third_party/WebKit/Source/platform/heap/BlinkGCMemoryDumpProviderTest.cpp b/third_party/WebKit/Source/platform/heap/BlinkGCMemoryDumpProviderTest.cpp
index cd4259addc609904923f6176edb33d18cd958e03..12369461e2266b216437000964edf9f7f3801267 100644
--- a/third_party/WebKit/Source/platform/heap/BlinkGCMemoryDumpProviderTest.cpp
+++ b/third_party/WebKit/Source/platform/heap/BlinkGCMemoryDumpProviderTest.cpp
@@ -4,8 +4,8 @@
#include "platform/heap/BlinkGCMemoryDumpProvider.h"
+#include "platform/web_process_memory_dump_impl.h"
#include "public/platform/Platform.h"
-#include "public/platform/WebProcessMemoryDump.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "wtf/Threading.h"
@@ -13,7 +13,7 @@ namespace blink {
TEST(BlinkGCDumpProviderTest, MemoryDump)
{
- OwnPtr<WebProcessMemoryDump> dump = adoptPtr(Platform::current()->createProcessMemoryDump());
+ OwnPtr<WebProcessMemoryDump> dump = adoptPtr(new WebProcessMemoryDumpImpl());
ASSERT(dump);
BlinkGCMemoryDumpProvider::instance()->onMemoryDump(WebMemoryDumpLevelOfDetail::Detailed, dump.get());
ASSERT(dump->getMemoryAllocatorDump(String::format("blink_gc")));

Powered by Google App Engine
This is Rietveld 408576698