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

Unified Diff: cc/texture_layer.h

Issue 11567034: Changes subtreeShouldRenderToSeparateSurface logic to account for explicit clipping (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: addressing Dana's feedback Created 7 years, 12 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/texture_layer.h
diff --git a/cc/texture_layer.h b/cc/texture_layer.h
index 0f177566d8ba069273996233d51d0b27105c3b84..79940a84d0d4796f69fbf799d1ce7d4d2339d93d 100644
--- a/cc/texture_layer.h
+++ b/cc/texture_layer.h
@@ -55,6 +55,8 @@ public:
virtual void pushPropertiesTo(LayerImpl*) OVERRIDE;
virtual bool blocksPendingCommit() const OVERRIDE;
+ bool canClipSelf() const OVERRIDE { return true; }
+
protected:
explicit TextureLayer(TextureLayerClient*);
virtual ~TextureLayer();
« no previous file with comments | « cc/texture_draw_quad.cc ('k') | cc/texture_layer_impl.h » ('j') | ui/gfx/transform.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698