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

Unified Diff: ui/compositor/layer.cc

Issue 868603007: Mechanical rename of base::debug -> base::trace_event [final pass]. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_trace_part3_1
Patch Set: Removing build/sanitizers/tsan_suppressions.cc 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: ui/compositor/layer.cc
diff --git a/ui/compositor/layer.cc b/ui/compositor/layer.cc
index c5de6324790138a5cf1b428ab64b8fab9debf1fb..781c422d19c282bd3a25b6ba6e5a5dbb8408b588 100644
--- a/ui/compositor/layer.cc
+++ b/ui/compositor/layer.cc
@@ -764,7 +764,7 @@ void Layer::SetForceRenderSurface(bool force) {
cc_layer_->SetForceRenderSurface(force_render_surface_);
}
-class LayerDebugInfo : public base::debug::ConvertableToTraceFormat {
+class LayerDebugInfo : public base::trace_event::ConvertableToTraceFormat {
public:
explicit LayerDebugInfo(std::string name) : name_(name) { }
void AppendAsTraceFormat(std::string* out) const override {
@@ -778,7 +778,8 @@ class LayerDebugInfo : public base::debug::ConvertableToTraceFormat {
std::string name_;
};
-scoped_refptr<base::debug::ConvertableToTraceFormat> Layer::TakeDebugInfo() {
+scoped_refptr<base::trace_event::ConvertableToTraceFormat>
+Layer::TakeDebugInfo() {
return new LayerDebugInfo(name_);
}

Powered by Google App Engine
This is Rietveld 408576698