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"))); |