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

Unified Diff: skia/ext/skia_memory_dump_provider_unittest.cc

Issue 1262333005: [tracing] Introduce MemoryDumpArgs to enable light and heavy dumps (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Win and android fix. Created 5 years, 5 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: skia/ext/skia_memory_dump_provider_unittest.cc
diff --git a/skia/ext/skia_memory_dump_provider_unittest.cc b/skia/ext/skia_memory_dump_provider_unittest.cc
index bea4a8b1fc9e86112da0ae8f70544a23b261ddac..2ee869e51a62647db48a270cfbed5e13fc1e2fc7 100644
--- a/skia/ext/skia_memory_dump_provider_unittest.cc
+++ b/skia/ext/skia_memory_dump_provider_unittest.cc
@@ -12,6 +12,8 @@ TEST(SkiaMemoryDumpProviderTest, OnMemoryDump) {
scoped_ptr<base::trace_event::ProcessMemoryDump> process_memory_dump(
new base::trace_event::ProcessMemoryDump(nullptr));
SkiaMemoryDumpProvider::GetInstance()->OnMemoryDump(
+ base::trace_event::MemoryDumpArgs(
+ base::trace_event::MemoryDumpArgs::LEVEL_OF_DETAIL_HIGH),
process_memory_dump.get());
ASSERT_TRUE(process_memory_dump->GetAllocatorDump("skia/sk_font_cache"));
« gin/v8_isolate_memory_dump_provider.cc ('K') | « skia/ext/skia_memory_dump_provider.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698