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

Unified Diff: third_party/WebKit/Source/core/svg/graphics/filters/SVGFEImage.cpp

Issue 2329803002: Drop FilterEffect::m_absolutePaintRect (Closed)
Patch Set: Add comment Created 4 years, 3 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/svg/graphics/filters/SVGFEImage.cpp
diff --git a/third_party/WebKit/Source/core/svg/graphics/filters/SVGFEImage.cpp b/third_party/WebKit/Source/core/svg/graphics/filters/SVGFEImage.cpp
index 14348e3bcc4be2f112c7854bc795cff8b6041efa..4b419a9afba4bd4223e0719d2d98d09359be78c7 100644
--- a/third_party/WebKit/Source/core/svg/graphics/filters/SVGFEImage.cpp
+++ b/third_party/WebKit/Source/core/svg/graphics/filters/SVGFEImage.cpp
@@ -90,7 +90,7 @@ AffineTransform makeMapBetweenRects(const FloatRect& source, const FloatRect& de
return transform;
}
-FloatRect FEImage::determineAbsolutePaintRect(const FloatRect& originalRequestedRect)
+FloatRect FEImage::determineAbsolutePaintRect(const FloatRect& originalRequestedRect) const
{
LayoutObject* layoutObject = referencedLayoutObject();
if (!m_image && !layoutObject)
@@ -124,7 +124,6 @@ FloatRect FEImage::determineAbsolutePaintRect(const FloatRect& originalRequested
}
destRect.intersect(requestedRect);
- addAbsolutePaintRect(destRect);
return destRect;
}

Powered by Google App Engine
This is Rietveld 408576698