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

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp

Issue 2730343003: Fix overflow:overlay scrollbar width for paint. (Closed)
Patch Set: logic fix Created 3 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: 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 d1d806826a4c95e41ce2c27c51942bd5f22dd024..c388bbc72e6a756e7d9e57eebe57764cfc324f9c 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp
@@ -230,8 +230,8 @@ LayoutRect LayoutSVGRoot::visualOverflowRect() const {
LayoutRect LayoutSVGRoot::overflowClipRect(const LayoutPoint& location,
OverlayScrollbarClipBehavior) const {
- return LayoutRect(pixelSnappedIntRect(
- LayoutReplaced::overflowClipRect(location, IgnoreOverlayScrollbarSize)));
+ return LayoutRect(pixelSnappedIntRect(LayoutReplaced::overflowClipRect(
+ location, IgnorePlatformOverlayScrollbarSize)));
}
void LayoutSVGRoot::paintReplaced(const PaintInfo& paintInfo,

Powered by Google App Engine
This is Rietveld 408576698