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

Unified Diff: cc/layer_impl.h

Issue 11567034: Changes subtreeShouldRenderToSeparateSurface logic to account for explicit clipping (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: re-adding a previously removed check of the transforms between a layer and its child Created 8 years 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/layer_impl.h
diff --git a/cc/layer_impl.h b/cc/layer_impl.h
index 889e1e11eba85ec828d7711fe586c53fec73b724..6072fd39f45b79052712f377972b7e1a91acf917 100644
--- a/cc/layer_impl.h
+++ b/cc/layer_impl.h
@@ -281,6 +281,8 @@ public:
gfx::Rect layerRectToContentRect(const gfx::RectF& layerRect) const;
+ virtual bool CanClipSelf() const { return false; }
danakj 2012/12/15 00:02:17 same
+
protected:
LayerImpl(LayerTreeImpl* layerImpl, int);

Powered by Google App Engine
This is Rietveld 408576698