Index: content/browser/browser_main_loop.cc |
diff --git a/content/browser/browser_main_loop.cc b/content/browser/browser_main_loop.cc |
index 2a34b24ef02542b39966e2ccab814cafb4a13b00..ac503da5e59f9eecefd856ff9441745fc93b115e 100644 |
--- a/content/browser/browser_main_loop.cc |
+++ b/content/browser/browser_main_loop.cc |
@@ -7,7 +7,6 @@ |
#include "base/bind.h" |
#include "base/command_line.h" |
#include "base/debug/trace_event.h" |
-#include "base/files/file_util.h" |
#include "base/logging.h" |
#include "base/message_loop/message_loop.h" |
#include "base/metrics/field_trial.h" |
@@ -1197,7 +1196,9 @@ void BrowserMainLoop::InitStartupTracing( |
void BrowserMainLoop::EndStartupTracing() { |
is_tracing_startup_ = false; |
TracingController::GetInstance()->DisableRecording( |
- startup_trace_file_, base::Bind(&OnStoppedStartupTracing)); |
+ TracingController::CreateFileSink( |
+ startup_trace_file_, |
+ base::Bind(OnStoppedStartupTracing, startup_trace_file_))); |
} |
} // namespace content |