Index: base/test/trace_event_analyzer_unittest.cc |
diff --git a/base/test/trace_event_analyzer_unittest.cc b/base/test/trace_event_analyzer_unittest.cc |
index eca2b70f638a8d4eec3b123207c78ff980b3e3f9..60043416456aa3eac205338c6749527dc2ccb430 100644 |
--- a/base/test/trace_event_analyzer_unittest.cc |
+++ b/base/test/trace_event_analyzer_unittest.cc |
@@ -39,11 +39,15 @@ void TraceEventAnalyzerTest::OnTraceDataCollected( |
void TraceEventAnalyzerTest::BeginTracing() { |
output_.json_output.clear(); |
buffer_.Start(); |
- base::debug::TraceLog::GetInstance()->SetEnabled(true); |
+ base::debug::TraceLog::GetInstance()->SetEnabled( |
+ true, |
+ base::debug::TraceLog::RECORD_UNTIL_FULL); |
} |
void TraceEventAnalyzerTest::EndTracing() { |
- base::debug::TraceLog::GetInstance()->SetEnabled(false); |
+ base::debug::TraceLog::GetInstance()->SetEnabled( |
+ false, |
+ base::debug::TraceLog::RECORD_UNTIL_FULL); |
base::debug::TraceLog::GetInstance()->Flush( |
base::Bind(&TraceEventAnalyzerTest::OnTraceDataCollected, |
base::Unretained(this))); |