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. |