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 4b419a9afba4bd4223e0719d2d98d09359be78c7..96ec4b54073cb754f7e905699b47de9ab17c4b73 100644 |
--- a/third_party/WebKit/Source/core/svg/graphics/filters/SVGFEImage.cpp |
+++ b/third_party/WebKit/Source/core/svg/graphics/filters/SVGFEImage.cpp |
@@ -90,16 +90,12 @@ AffineTransform makeMapBetweenRects(const FloatRect& source, const FloatRect& de |
return transform; |
} |
-FloatRect FEImage::determineAbsolutePaintRect(const FloatRect& originalRequestedRect) const |
+FloatRect FEImage::mapInputs(const FloatRect&) const |
{ |
LayoutObject* layoutObject = referencedLayoutObject(); |
if (!m_image && !layoutObject) |
return FloatRect(); |
- FloatRect requestedRect = originalRequestedRect; |
- if (clipsToBounds()) |
- requestedRect.intersect(absoluteBounds()); |
- |
FloatRect destRect = getFilter()->mapLocalRectToAbsoluteRect(filterPrimitiveSubregion()); |
FloatRect srcRect; |
if (layoutObject) { |
@@ -122,8 +118,6 @@ FloatRect FEImage::determineAbsolutePaintRect(const FloatRect& originalRequested |
srcRect = FloatRect(FloatPoint(), FloatSize(m_image->size())); |
m_preserveAspectRatio->transformRect(destRect, srcRect); |
} |
- |
- destRect.intersect(requestedRect); |
return destRect; |
} |