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/surface_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/surface_layer.h')
-rw-r--r-- | cc/layers/surface_layer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/layers/surface_layer.h b/cc/layers/surface_layer.h index cf150ab..d58d47d 100644 --- a/cc/layers/surface_layer.h +++ b/cc/layers/surface_layer.h @@ -22,11 +22,11 @@ class CC_EXPORT SurfaceLayer : public Layer { // Layer overrides. virtual scoped_ptr<LayerImpl> CreateLayerImpl(LayerTreeImpl* tree_impl) OVERRIDE; - virtual bool DrawsContent() const OVERRIDE; virtual void PushPropertiesTo(LayerImpl* layer) OVERRIDE; protected: SurfaceLayer(); + virtual bool HasDrawableContent() const OVERRIDE; private: virtual ~SurfaceLayer(); |