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 93a9d078ad20bec85671e1deb12fb5b6d185b95d..f97db8df0956b11ed8bc21e9ad7de6cc9f8efb91 100644 |
--- a/content/app/android/library_loader_hooks.cc |
+++ b/content/app/android/library_loader_hooks.cc |
@@ -42,8 +42,9 @@ static jint LibraryLoaded(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, |
base::debug::TraceLog::RECORD_UNTIL_FULL); |
} |