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

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

Issue 2813303008: Remove pixel-snapping from LayoutSVGRoot::OverflowClipRect (Closed)
Patch Set: Created 3 years, 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 a84c91b174ca3185bd6a34777b194b4c3a35ea97..5deb9492eece8de65f2811a9d6430a8589d29bab 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp
@@ -236,8 +236,8 @@ LayoutRect LayoutSVGRoot::VisualOverflowRect() const {
LayoutRect LayoutSVGRoot::OverflowClipRect(const LayoutPoint& location,
OverlayScrollbarClipBehavior) const {
- return LayoutRect(PixelSnappedIntRect(LayoutReplaced::OverflowClipRect(
- location, kIgnorePlatformOverlayScrollbarSize)));
+ return LayoutReplaced::OverflowClipRect(location,
pdr. 2017/04/17 20:12:20 How does this not change test results? Can we rem
+ kIgnorePlatformOverlayScrollbarSize);
}
void LayoutSVGRoot::PaintReplaced(const PaintInfo& paint_info,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698