Index: content/browser/devtools/protocol/tracing_handler.cc |
diff --git a/content/browser/devtools/protocol/tracing_handler.cc b/content/browser/devtools/protocol/tracing_handler.cc |
index d9e0ceda09ebf2f297bab81e6fce82bd78b89ca4..66f54d21de2b8fdaf523f92f73f28fbebd2b845e 100644 |
--- a/content/browser/devtools/protocol/tracing_handler.cc |
+++ b/content/browser/devtools/protocol/tracing_handler.cc |
@@ -159,10 +159,8 @@ |
if (!did_initiate_recording_) |
return Response::InternalError("Tracing is not started"); |
- base::trace_event::MemoryDumpArgs dump_args = { |
- base::trace_event::MemoryDumpArgs::LEVEL_OF_DETAIL_HIGH}; |
base::trace_event::MemoryDumpManager::GetInstance()->RequestGlobalDump( |
- base::trace_event::MemoryDumpType::EXPLICITLY_TRIGGERED, dump_args, |
+ base::trace_event::MemoryDumpType::EXPLICITLY_TRIGGERED, |
base::Bind(&TracingHandler::OnMemoryDumpFinished, |
weak_factory_.GetWeakPtr(), command_id)); |
return Response::OK(); |