| Index: content/app/android/library_loader_hooks.cc
|
| diff --git a/content/app/android/library_loader_hooks.cc b/content/app/android/library_loader_hooks.cc
|
| index 1a2fbd053f9bc7f4bfbc4b0b4fc159a6b9263ce9..37069b0b79320b8eddc7d726bda7aec42535bcb1 100644
|
| --- a/content/app/android/library_loader_hooks.cc
|
| +++ b/content/app/android/library_loader_hooks.cc
|
| @@ -41,8 +41,9 @@ static jint LibraryLoadedOnMainThread(JNIEnv* env, jclass clazz,
|
| CommandLine* command_line = CommandLine::ForCurrentProcess();
|
|
|
| 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));
|
| + base::debug::TraceLog::GetInstance()->SetEnabled(category_filter);
|
| }
|
|
|
| // Can only use event tracing after setting up the command line.
|
|
|