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

Unified Diff: cc/layers/layer.cc

Issue 16903005: Add layer name into frame viewer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: get debug name on demand Created 7 years, 6 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: cc/layers/layer.cc
diff --git a/cc/layers/layer.cc b/cc/layers/layer.cc
index bdcbc755d15db112782d34e3623ca2b07bd58c53..43d3cd22be80fb29d8c573e7493d0fe5d0dfd4b3 100644
--- a/cc/layers/layer.cc
+++ b/cc/layers/layer.cc
@@ -675,7 +675,7 @@ void Layer::PushPropertiesTo(LayerImpl* layer) {
layer->SetBounds(paint_properties_.bounds);
layer->SetContentBounds(content_bounds());
layer->SetContentsScale(contents_scale_x(), contents_scale_y());
- layer->SetDebugName(debug_name_);
+ layer->SetDebugName(DebugName());
enne (OOO) 2013/07/03 17:40:43 How about only pulling the name when tracing is ac
qiankun 2013/07/04 04:34:04 OK.
layer->SetCompositingReasons(compositing_reasons_);
layer->SetDoubleSided(double_sided_);
layer->SetDrawCheckerboardForMissingTiles(
« no previous file with comments | « cc/layers/layer.h ('k') | cc/layers/layer_impl.cc » ('j') | cc/layers/layer_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698