Index: base/trace_event/process_memory_maps_dump_provider.cc |
diff --git a/base/trace_event/process_memory_maps_dump_provider.cc b/base/trace_event/process_memory_maps_dump_provider.cc |
index 9c1bfcab8eccb91755707db140d6c534e9d8379b..750ca1119a4aa77aeea82b2cddb74d05127bb679 100644 |
--- a/base/trace_event/process_memory_maps_dump_provider.cc |
+++ b/base/trace_event/process_memory_maps_dump_provider.cc |
@@ -167,8 +167,9 @@ ProcessMemoryMapsDumpProvider::~ProcessMemoryMapsDumpProvider() { |
// the current process. |
bool ProcessMemoryMapsDumpProvider::OnMemoryDump(const MemoryDumpArgs& args, |
ProcessMemoryDump* pmd) { |
- // TODO(ssid): Use MemoryDumpArgs to create light dumps when requested |
- // (crbug.com/499731). |
+ // Snapshot of memory maps is not taken for light dump requests. |
+ if (args.level_of_detail == MemoryDumpArgs::LEVEL_OF_DETAIL_LOW) |
+ return true; |
uint32 res = 0; |