Index: third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp |
diff --git a/third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp b/third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp |
index 7bb1bae8ee63a317d586216baf13caabb48db6be..0ff40ac98a76e1f0088eed1ff66a42638ab3a422 100644 |
--- a/third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp |
+++ b/third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp |
@@ -329,4 +329,12 @@ bool PaintLayerClipper::shouldRespectOverflowClip(const ClipRectsContext& contex |
return true; |
} |
+ClipRects* PaintLayerClipper::paintingClipRects(const PaintLayer* rootLayer, ShouldRespectOverflowClip respectOverflowClip, const LayoutSize& subpixelAccumulation) const |
+{ |
+ ClipRectsContext context(rootLayer, PaintingClipRects, IgnoreOverlayScrollbarSize, subpixelAccumulation); |
+ if (respectOverflowClip == IgnoreOverflowClip) |
+ context.setIgnoreOverflowClip(); |
+ return getClipRects(context); |
+} |
+ |
} // namespace blink |