| Index: content/browser/browser_shutdown_profile_dumper.cc
|
| diff --git a/content/browser/browser_shutdown_profile_dumper.cc b/content/browser/browser_shutdown_profile_dumper.cc
|
| index 30bddd0cddfe5867097adcb336ae73c8e0655a7c..6c4d8c8c14a76418be1cf27fdf22bfea293e1d44 100644
|
| --- a/content/browser/browser_shutdown_profile_dumper.cc
|
| +++ b/content/browser/browser_shutdown_profile_dumper.cc
|
| @@ -30,8 +30,8 @@ BrowserShutdownProfileDumper::~BrowserShutdownProfileDumper() {
|
| }
|
|
|
| static float GetTraceBufferPercentFull() {
|
| - base::debug::TraceLogStatus status =
|
| - base::debug::TraceLog::GetInstance()->GetStatus();
|
| + base::trace_event::TraceLogStatus status =
|
| + base::trace_event::TraceLog::GetInstance()->GetStatus();
|
| return 100 * static_cast<float>(static_cast<double>(status.event_count) /
|
| status.event_capacity);
|
| }
|
| @@ -72,8 +72,8 @@ void BrowserShutdownProfileDumper::WriteTracesToDisc() {
|
|
|
| void BrowserShutdownProfileDumper::EndTraceAndFlush(
|
| base::WaitableEvent* flush_complete_event) {
|
| - base::debug::TraceLog::GetInstance()->SetDisabled();
|
| - base::debug::TraceLog::GetInstance()->Flush(
|
| + base::trace_event::TraceLog::GetInstance()->SetDisabled();
|
| + base::trace_event::TraceLog::GetInstance()->Flush(
|
| base::Bind(&BrowserShutdownProfileDumper::WriteTraceDataCollected,
|
| base::Unretained(this),
|
| base::Unretained(flush_complete_event)));
|
|
|