Index: mandoline/app/desktop/launcher_process.cc |
diff --git a/mandoline/app/desktop/launcher_process.cc b/mandoline/app/desktop/launcher_process.cc |
index 35fcc65da9e36ad3c4382919e2316f2e0d82adde..7f99d7c8c8c3bee44a159597eab67bc5b8d552c6 100644 |
--- a/mandoline/app/desktop/launcher_process.cc |
+++ b/mandoline/app/desktop/launcher_process.cc |
@@ -83,11 +83,11 @@ int LauncherProcessMain(int argc, char** argv) { |
*base::CommandLine::ForCurrentProcess(); |
if (command_line.HasSwitch(switches::kTraceStartup)) { |
g_tracing = true; |
- base::trace_event::CategoryFilter category_filter( |
- command_line.GetSwitchValueASCII(switches::kTraceStartup)); |
+ base::trace_event::TraceConfig trace_config( |
+ command_line.GetSwitchValueASCII(switches::kTraceStartup), |
+ base::trace_event::RECORD_UNTIL_FULL); |
base::trace_event::TraceLog::GetInstance()->SetEnabled( |
- category_filter, base::trace_event::TraceLog::RECORDING_MODE, |
- base::trace_event::TraceOptions(base::trace_event::RECORD_UNTIL_FULL)); |
+ trace_config, base::trace_event::TraceLog::RECORDING_MODE); |
} |
// We want the runner::Context to outlive the MessageLoop so that pipes are |