Chromium Code Reviews| Index: content/app/content_main_runner.cc |
| diff --git a/content/app/content_main_runner.cc b/content/app/content_main_runner.cc |
| index ce1f5c9a2e6bd236c4b88f6d70d02447a06f98de..c258432918d52ba0fe8413bd2e9f40c80d2104ff 100644 |
| --- a/content/app/content_main_runner.cc |
| +++ b/content/app/content_main_runner.cc |
| @@ -635,8 +635,9 @@ class ContentMainRunnerImpl : public ContentMainRunner { |
| // Enable startup tracing asap to avoid early TRACE_EVENT calls being |
| // ignored. |
| if (command_line.HasSwitch(switches::kTraceStartup)) { |
| - base::debug::TraceLog::GetInstance()->SetEnabled( |
| - command_line.GetSwitchValueASCII(switches::kTraceStartup)); |
| + base::debug::CategoryFilter category_filter(command_line. |
| + GetSwitchValueASCII(switches::kTraceStartup)); |
|
dsinclair
2013/02/22 21:13:44
nit: wrap from (.
rterrazas
2013/02/25 05:55:02
Done.
|
| + base::debug::TraceLog::GetInstance()->SetEnabled(category_filter); |
| } |
| #if defined(OS_MACOSX) && !defined(OS_IOS) |