| Index: content/renderer/devtools/v8_sampling_profiler.cc
|
| diff --git a/content/renderer/devtools/v8_sampling_profiler.cc b/content/renderer/devtools/v8_sampling_profiler.cc
|
| index 4249a73717e9019e7b856682cb846362b6675382..a0e063a6e311dbb2ca1a5d39a0ec9f977ec911bd 100644
|
| --- a/content/renderer/devtools/v8_sampling_profiler.cc
|
| +++ b/content/renderer/devtools/v8_sampling_profiler.cc
|
| @@ -57,13 +57,13 @@ void V8SamplingThread::Stop() {
|
|
|
| V8SamplingProfiler::V8SamplingProfiler() : sampling_thread_(nullptr) {
|
| // Force the "v8_cpu_profile" category to show up in the trace viewer.
|
| - base::debug::TraceLog::GetCategoryGroupEnabled(
|
| + base::trace_event::TraceLog::GetCategoryGroupEnabled(
|
| TRACE_DISABLED_BY_DEFAULT("v8_cpu_profile"));
|
| - base::debug::TraceLog::GetInstance()->AddEnabledStateObserver(this);
|
| + base::trace_event::TraceLog::GetInstance()->AddEnabledStateObserver(this);
|
| }
|
|
|
| V8SamplingProfiler::~V8SamplingProfiler() {
|
| - base::debug::TraceLog::GetInstance()->RemoveEnabledStateObserver(this);
|
| + base::trace_event::TraceLog::GetInstance()->RemoveEnabledStateObserver(this);
|
| DCHECK(!sampling_thread_.get());
|
| }
|
|
|
|
|