Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp |
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp |
index 5d8be0fb6ca16c43672c636811f306ecb169e6bf..30cd9367328dff87aec89b7799a49a82ed654ed1 100644 |
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp |
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp |
@@ -199,9 +199,14 @@ LayoutRect LayoutSVGRoot::visualOverflowRect() const |
return rect; |
} |
+LayoutRect LayoutSVGRoot::overflowClipRect(const LayoutPoint& location, OverlayScrollbarClipBehavior) const |
+{ |
+ return LayoutRect(pixelSnappedIntRect(LayoutReplaced::overflowClipRect(location, IgnoreOverlayScrollbarSize))); |
+} |
+ |
void LayoutSVGRoot::paintReplaced(const PaintInfo& paintInfo, const LayoutPoint& paintOffset) const |
{ |
- SVGRootPainter(*this).paint(paintInfo, paintOffset); |
+ SVGRootPainter(*this).paintReplaced(paintInfo, paintOffset); |
} |
void LayoutSVGRoot::willBeDestroyed() |