Chromium Code Reviews (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out

Unified Diff: Source/WebCore/platform/graphics/chromium/cc/CCSharedQuadState.h

Issue 9958025: Merge 112436 - [chromium] layer->clipRect() is not initialized for layers that create a renderSurfa… (Closed) Base URL:
Patch Set: Created 8 years, 9 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: Source/WebCore/platform/graphics/chromium/cc/CCSharedQuadState.h
--- Source/WebCore/platform/graphics/chromium/cc/CCSharedQuadState.h (revision 112701)
+++ Source/WebCore/platform/graphics/chromium/cc/CCSharedQuadState.h (working copy)
@@ -43,6 +43,7 @@
// The transform that layerRect() should be transformed with.
const TransformationMatrix& layerTransform() const { return m_layerTransform; }
const IntRect& layerRect() const { return m_layerRect; }
+ // Usage: if clipRect is empty, this clipRect should not be used.
const IntRect& clipRect() const { return m_clipRect; }
float opacity() const { return m_opacity; }

Powered by Google App Engine
This is Rietveld 408576698