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

Unified Diff: gin/v8_isolate_memory_dump_provider.cc

Issue 1337943003: [tracing] Non-functional refactor of memory dump arg names (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix windows test 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 | « content/child/web_memory_dump_provider_adapter.cc ('k') | gin/v8_isolate_memory_dump_provider_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gin/v8_isolate_memory_dump_provider.cc
diff --git a/gin/v8_isolate_memory_dump_provider.cc b/gin/v8_isolate_memory_dump_provider.cc
index dfce8b68b8745b97fd31ac149b99a60f99ff6e4f..ecbf5fffabfd8cec0f0e73f938a04bd1cdec909e 100644
--- a/gin/v8_isolate_memory_dump_provider.cc
+++ b/gin/v8_isolate_memory_dump_provider.cc
@@ -104,8 +104,7 @@ void V8IsolateMemoryDumpProvider::DumpHeapStatistics(
heap_statistics.total_heap_size() - known_spaces_size);
// If light dump is requested, then object statistics are not dumped
- if (args.level_of_detail ==
- base::trace_event::MemoryDumpArgs::LevelOfDetail::LOW)
+ if (args.level_of_detail == base::trace_event::MemoryDumpLevelOfDetail::LIGHT)
return;
// Dump statistics of the heap's live objects from last GC.
« no previous file with comments | « content/child/web_memory_dump_provider_adapter.cc ('k') | gin/v8_isolate_memory_dump_provider_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698