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

Unified Diff: skia/ext/skia_memory_dump_provider.cc

Issue 1303313007: Temporary fix to the inconsistency in skia dump. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@skia_res
Patch Set: Created 5 years, 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skia/ext/skia_memory_dump_provider.cc
diff --git a/skia/ext/skia_memory_dump_provider.cc b/skia/ext/skia_memory_dump_provider.cc
index 1323699ddb1ef54febcb4aadfc8fc16754d77949..52522e11869194022778dc0c92d7d055146e24f0 100644
--- a/skia/ext/skia_memory_dump_provider.cc
+++ b/skia/ext/skia_memory_dump_provider.cc
@@ -35,10 +35,8 @@ bool SkiaMemoryDumpProvider::OnMemoryDump(
base::trace_event::MemoryAllocatorDump::kUnitsObjects,
SkGraphics::GetFontCacheCountUsed());
- if (args.level_of_detail ==
- base::trace_event::MemoryDumpArgs::LevelOfDetail::LOW)
- return true;
-
+ // TODO(ssid): Use MemoryDumpArgs to create light dumps when requested
+ // (crbug.com/499731).
SkTraceMemoryDump_Chrome skia_dumper(process_memory_dump);
SkGraphics::DumpMemoryStatistics(&skia_dumper);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698