Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(53)

Unified Diff: content/renderer/devtools/v8_sampling_profiler.cc

Issue 892213004: Mechanical rename of base::debug -> base::trace_event for /content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_trace_part3_1
Patch Set: Rebase. Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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());
}
« no previous file with comments | « content/renderer/devtools/v8_sampling_profiler.h ('k') | content/renderer/devtools/v8_sampling_profiler_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698