| Index: content/public/test/browser_test_base.cc
|
| diff --git a/content/public/test/browser_test_base.cc b/content/public/test/browser_test_base.cc
|
| index c942236b267e7e9bad8abe2a8b5b95cd4b7695f3..d8bfa19d4a3dc6f9e6a6ddebf97757a851434bbd 100644
|
| --- a/content/public/test/browser_test_base.cc
|
| +++ b/content/public/test/browser_test_base.cc
|
| @@ -14,8 +14,8 @@
|
| #include "base/test/test_timeouts.h"
|
| #include "content/public/app/content_main.h"
|
| #include "content/browser/renderer_host/render_process_host_impl.h"
|
| +#include "content/browser/tracing/tracing_controller_impl.h"
|
| #include "content/public/browser/browser_thread.h"
|
| -#include "content/public/browser/tracing_controller.h"
|
| #include "content/public/common/content_switches.h"
|
| #include "content/public/common/main_function_params.h"
|
| #include "content/public/test/test_launcher.h"
|
| @@ -301,8 +301,9 @@ void BrowserTestBase::ProxyRunTestOnMainThreadLoop() {
|
| // Wait for tracing to collect results from the renderers.
|
| base::RunLoop run_loop;
|
| TracingController::GetInstance()->DisableRecording(
|
| - trace_file,
|
| - base::Bind(&TraceDisableRecordingComplete, run_loop.QuitClosure()));
|
| + TracingControllerImpl::CreateFileSink(trace_file,
|
| + base::Bind(&TraceDisableRecordingComplete,
|
| + run_loop.QuitClosure(), trace_file)));
|
| run_loop.Run();
|
| }
|
| }
|
|
|