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

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

Issue 1813383002: Move all fast-path paint invalidation mapping into PaintInvalidationState (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Disable fast-path/slow-path comparison because of saturated operations of LayoutUnit Created 4 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/LayoutSVGShape.cpp
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.cpp
index abcd05e32e1597acd3cafe092ad024c18136bf5e..b7671c4696908d97dcb7e9ab9ca4fa87a98a1779 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.cpp
@@ -295,15 +295,6 @@ float LayoutSVGShape::strokeWidth() const
return lengthContext.valueForLength(style()->svgStyle().strokeWidth());
}
-LayoutRect LayoutSVGShape::clippedOverflowRectForPaintInvalidation(
- const LayoutBoxModelObject* paintInvalidationContainer,
- const PaintInvalidationState* paintInvalidationState) const
-{
- const float strokeWidthForHairlinePadding = style()->svgStyle().hasStroke() ? strokeWidth() : 0;
- return SVGLayoutSupport::clippedOverflowRectForPaintInvalidation(*this,
- paintInvalidationContainer, paintInvalidationState, strokeWidthForHairlinePadding);
-}
-
LayoutSVGShapeRareData& LayoutSVGShape::ensureRareData() const
{
if (!m_rareData)

Powered by Google App Engine
This is Rietveld 408576698