| 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 45136fe15bf8b8d9fb45f77725ffad25afa412f6..0c8f3b706f7f302e0c77e0ec124c71d7995443fc 100644
|
| --- a/third_party/WebKit/Source/core/svg/graphics/filters/SVGFEImage.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/graphics/filters/SVGFEImage.cpp
|
| @@ -121,7 +121,7 @@ FloatRect FEImage::determineAbsolutePaintRect(const FloatRect& originalRequested
|
| }
|
| destRect.intersect(srcRect);
|
| } else {
|
| - srcRect = FloatRect(FloatPoint(), m_image->size());
|
| + srcRect = FloatRect(FloatPoint(), FloatSize(m_image->size()));
|
| m_preserveAspectRatio->transformRect(destRect, srcRect);
|
| }
|
|
|
| @@ -199,7 +199,7 @@ PassRefPtr<SkImageFilter> FEImage::createImageFilter(SkiaImageFilterBuilder& bui
|
| return createTransparentBlack(builder);
|
| }
|
|
|
| - FloatRect srcRect = FloatRect(FloatPoint(), m_image->size());
|
| + FloatRect srcRect = FloatRect(FloatPoint(), FloatSize(m_image->size()));
|
| FloatRect dstRect = filterPrimitiveSubregion();
|
|
|
| m_preserveAspectRatio->transformRect(dstRect, srcRect);
|
|
|