Index: content/browser/browser_main_loop.cc |
diff --git a/content/browser/browser_main_loop.cc b/content/browser/browser_main_loop.cc |
index 93cbcd3c5616121d91715304cf4b74c4a819a88f..627dac253eed7e8532d597331ccf36f3bc4a8067 100644 |
--- a/content/browser/browser_main_loop.cc |
+++ b/content/browser/browser_main_loop.cc |
@@ -1262,6 +1262,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, |
@@ -1270,6 +1274,7 @@ void BrowserMainLoop::InitStartupTracing( |
void BrowserMainLoop::EndStartupTracing() { |
is_tracing_startup_ = false; |
+ |
TracingController::GetInstance()->DisableRecording( |
TracingController::CreateFileSink( |
startup_trace_file_, |