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); |
} |