Index: content/browser/browser_main_loop.cc |
diff --git a/content/browser/browser_main_loop.cc b/content/browser/browser_main_loop.cc |
index 2a56518910a273bfb6e1e78ad57972463fd36d41..95ed89527add340b0e733d9748fcaf0b8084b8cb 100644 |
--- a/content/browser/browser_main_loop.cc |
+++ b/content/browser/browser_main_loop.cc |
@@ -1266,6 +1266,10 @@ void BrowserMainLoop::InitStartupTracing( |
delay_secs = 5; |
} |
+#if defined(OS_ANDROID) |
+ TracingControllerAndroid::SetupEarlyJavaTracing(); |
+#endif |
+ |
startup_trace_timer_.Start(FROM_HERE, |
base::TimeDelta::FromSeconds(delay_secs), |
this, |
@@ -1274,6 +1278,7 @@ void BrowserMainLoop::InitStartupTracing( |
void BrowserMainLoop::EndStartupTracing() { |
is_tracing_startup_ = false; |
+ |
TracingController::GetInstance()->DisableRecording( |
TracingController::CreateFileSink( |
startup_trace_file_, |