Chromium Code Reviews| 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 f69933f1367d205ec4031b8937de5603d3cf6f5d..3582ba1867aba974cc5a9ec188da5fae0ad57a72 100644 |
| --- a/content/app/android/library_loader_hooks.cc |
| +++ b/content/app/android/library_loader_hooks.cc |
| @@ -80,9 +80,11 @@ bool LibraryLoaded(JNIEnv* env, jclass clazz, |
| if (command_line->HasSwitch(switches::kTraceStartup)) { |
| base::debug::CategoryFilter category_filter( |
| command_line->GetSwitchValueASCII(switches::kTraceStartup)); |
| - base::debug::TraceLog::GetInstance()->SetEnabled(category_filter, |
| + base::debug::TraceLog::GetInstance()->SetEnabled( |
| + category_filter, |
| base::debug::TraceLog::RECORDING_MODE, |
| - base::debug::TraceLog::RECORD_UNTIL_FULL); |
| + base::debug::TraceOptions( |
| + base::debug::RECORD_UNTIL_FULL)); |
|
dsinclair
2014/07/30 14:25:26
RECORD_UNTIL_FULL is default, no need to pass.
dsinclair
2014/07/30 14:25:26
nit: Does this fit on the line above?
nednguyen
2014/07/30 16:51:15
Done.
nednguyen
2014/07/30 16:51:15
Done.
|
| } |
| // Android's main browser loop is custom so we set the browser |