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

Unified Diff: Source/WebCore/platform/graphics/chromium/cc/CCOcclusionTracker.cpp

Issue 9958025: Merge 112436 - [chromium] layer->clipRect() is not initialized for layers that create a renderSurfa… (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1084/
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/CCOcclusionTracker.cpp
===================================================================
--- Source/WebCore/platform/graphics/chromium/cc/CCOcclusionTracker.cpp (revision 112701)
+++ Source/WebCore/platform/graphics/chromium/cc/CCOcclusionTracker.cpp (working copy)
@@ -340,8 +340,7 @@
{
const RenderSurfaceType* targetSurface = m_stack.last().surface;
FloatRect totalScissor = targetSurface->contentRect();
- // FIXME: layer->clipRect() and layer->usesLayerClipping() is changing: https://bugs.webkit.org/show_bug.cgi?id=80622
- if (!layer->clipRect().isEmpty())
+ if (layer->usesLayerClipping())
totalScissor.intersect(layer->clipRect());
return enclosingIntRect(totalScissor);
}

Powered by Google App Engine
This is Rietveld 408576698