Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1746)

Unified Diff: content/app/android/library_loader_hooks.cc

Issue 12150004: Category group support/Renamings. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fixed comment, added better support for default filtering, fixed merge issues. Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 213f65ee46b7dea6923aa2032200af3a56e3df87..7d515780e520ad7d6025e6c665208765b3aa500d 100644
--- a/content/app/android/library_loader_hooks.cc
+++ b/content/app/android/library_loader_hooks.cc
@@ -42,8 +42,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,
base::debug::TraceLog::RECORD_UNTIL_FULL);
}

Powered by Google App Engine
This is Rietveld 408576698