summaryrefslogtreecommitdiff
path: root/chromium/content/browser/browser_main_runner_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/content/browser/browser_main_runner_impl.cc')
-rw-r--r--chromium/content/browser/browser_main_runner_impl.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chromium/content/browser/browser_main_runner_impl.cc b/chromium/content/browser/browser_main_runner_impl.cc
index 28e6d582c17..11845c22119 100644
--- a/chromium/content/browser/browser_main_runner_impl.cc
+++ b/chromium/content/browser/browser_main_runner_impl.cc
@@ -181,7 +181,8 @@ void BrowserMainRunnerImpl::Shutdown() {
main_loop_->PreShutdown();
// Finalize the startup tracing session if it is still active.
- TracingControllerImpl::GetInstance()->FinalizeStartupTracingIfNeeded();
+ if (TracingControllerImpl::GetInstance())
+ TracingControllerImpl::GetInstance()->FinalizeStartupTracingIfNeeded();
{
// The trace event has to stay between profiler creation and destruction.