diff options
author | awoloszyn@chromium.org <awoloszyn@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-08-11 17:39:54 +0000 |
---|---|---|
committer | awoloszyn@chromium.org <awoloszyn@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-08-11 17:41:20 +0000 |
commit | ad63b2ffb295d0de395b83faeff6125475f0f5c4 (patch) | |
tree | 1d867e1db456fd4bb95f5e0a202e7005d5f6ae85 /cc/layers/ui_resource_layer.h | |
parent | 6ebf79234c9c16a3611a05f481e845433ddd7271 (diff) | |
download | chromium_src-ad63b2ffb295d0de395b83faeff6125475f0f5c4.zip chromium_src-ad63b2ffb295d0de395b83faeff6125475f0f5c4.tar.gz chromium_src-ad63b2ffb295d0de395b83faeff6125475f0f5c4.tar.bz2 |
Keeping track of descendants that draw content instead of recalcualting
This is a required for removing Render Surface creation from CalcDrawProps.
BUG=386788
Review URL: https://codereview.chromium.org/373113003
Cr-Commit-Position: refs/heads/master@{#288740}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288740 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/layers/ui_resource_layer.h')
-rw-r--r-- | cc/layers/ui_resource_layer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cc/layers/ui_resource_layer.h b/cc/layers/ui_resource_layer.h index d99c073..8e278a9 100644 --- a/cc/layers/ui_resource_layer.h +++ b/cc/layers/ui_resource_layer.h @@ -20,8 +20,6 @@ class CC_EXPORT UIResourceLayer : public Layer { public: static scoped_refptr<UIResourceLayer> Create(); - virtual bool DrawsContent() const OVERRIDE; - virtual void PushPropertiesTo(LayerImpl* layer) OVERRIDE; virtual void SetLayerTreeHost(LayerTreeHost* host) OVERRIDE; @@ -51,6 +49,8 @@ class CC_EXPORT UIResourceLayer : public Layer { UIResourceLayer(); virtual ~UIResourceLayer(); + virtual bool HasDrawableContent() const OVERRIDE; + scoped_ptr<UIResourceHolder> ui_resource_holder_; SkBitmap bitmap_; |