diff options
author | rharrison@chromium.org <rharrison@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-30 02:13:33 +0000 |
---|---|---|
committer | rharrison@chromium.org <rharrison@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-30 02:13:33 +0000 |
commit | 29e17b0c93ebdf58447202c33d6ea0bd30ec6073 (patch) | |
tree | 05b27a6f3124e1dc67594b42caa844da4c252e2a /cc | |
parent | 34d340519b5d3f37e1276a03faad959f531e0369 (diff) | |
download | chromium_src-29e17b0c93ebdf58447202c33d6ea0bd30ec6073.zip chromium_src-29e17b0c93ebdf58447202c33d6ea0bd30ec6073.tar.gz chromium_src-29e17b0c93ebdf58447202c33d6ea0bd30ec6073.tar.bz2 |
Fix cc::Layer debug name
Have ui::Layer subclass cc::LayerClient and register itself as the
client of the cc::Layer it is using. This allows the names for the
layers appear in debugging output.
BUG=280662
TEST=Built version of chrome that dumps debug information about layers
and confirmed the missing layer names are now present.
Review URL: https://chromiumcodereview.appspot.com/23701005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220477 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc')
-rw-r--r-- | cc/layers/layer.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/cc/layers/layer.h b/cc/layers/layer.h index b659ab2..2f4d581 100644 --- a/cc/layers/layer.h +++ b/cc/layers/layer.h @@ -542,7 +542,6 @@ class CC_EXPORT Layer : public base::RefCounted<Layer>, gfx::PointF position_; gfx::PointF anchor_point_; SkColor background_color_; - std::string debug_name_; CompositingReasons compositing_reasons_; float opacity_; skia::RefPtr<SkImageFilter> filter_; |