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

Unified Diff: Source/platform/heap/BlinkGCMemoryDumpProviderTest.cpp

Issue 1281673003: [tracing] Adding support for light dumps in blink gc dump provider (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixing test. Created 5 years, 4 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 | « Source/platform/heap/BlinkGCMemoryDumpProvider.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/heap/BlinkGCMemoryDumpProviderTest.cpp
diff --git a/Source/platform/heap/BlinkGCMemoryDumpProviderTest.cpp b/Source/platform/heap/BlinkGCMemoryDumpProviderTest.cpp
index 84589a4e1e0eda7633583fcb7dad3cbdc9ccbb74..8de38d84400b7ea9e49e64652131adabdecbfbc5 100644
--- a/Source/platform/heap/BlinkGCMemoryDumpProviderTest.cpp
+++ b/Source/platform/heap/BlinkGCMemoryDumpProviderTest.cpp
@@ -18,8 +18,8 @@ TEST(BlinkGCDumpProviderTest, MemoryDump)
WebProcessMemoryDump* dump = Platform::current()->createProcessMemoryDump();
ASSERT(dump);
BlinkGCMemoryDumpProvider::instance()->onMemoryDump(WebMemoryDumpLevelOfDetail::High, dump);
- ASSERT(dump->getMemoryAllocatorDump(String::format("blink_gc/thread_%lu", static_cast<unsigned long>(WTF::currentThread()))));
- ASSERT(dump->getMemoryAllocatorDump(String::format("blink_gc/thread_%lu/allocated_objects", static_cast<unsigned long>(WTF::currentThread()))));
+ ASSERT(dump->getMemoryAllocatorDump(String::format("blink_gc")));
+ ASSERT(dump->getMemoryAllocatorDump(String::format("blink_gc/allocated_objects")));
}
} // namespace blink
« no previous file with comments | « Source/platform/heap/BlinkGCMemoryDumpProvider.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698