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

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

Issue 2813303008: Remove pixel-snapping from LayoutSVGRoot::OverflowClipRect (Closed)
Patch Set: none 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
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..c76436d279bd5a772040018c83b6582a045e040a 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp
@@ -234,12 +234,6 @@ LayoutRect LayoutSVGRoot::VisualOverflowRect() const {
return rect;
}
-LayoutRect LayoutSVGRoot::OverflowClipRect(const LayoutPoint& location,
- OverlayScrollbarClipBehavior) const {
- return LayoutRect(PixelSnappedIntRect(LayoutReplaced::OverflowClipRect(
- location, kIgnorePlatformOverlayScrollbarSize)));
-}
-
void LayoutSVGRoot::PaintReplaced(const PaintInfo& paint_info,
const LayoutPoint& paint_offset) const {
SVGRootPainter(*this).PaintReplaced(paint_info, paint_offset);

Powered by Google App Engine
This is Rietveld 408576698