| 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 d551f17b1a6ea4eb8b864794b3a8fb537f08070d..099ee49f5a64dee716f7ebdcb71fcc52bb8e15eb 100644
|
| --- a/third_party/WebKit/Source/core/svg/graphics/filters/SVGFEImage.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/graphics/filters/SVGFEImage.cpp
|
| @@ -119,7 +119,7 @@ FloatRect FEImage::determineAbsolutePaintRect(const FloatRect& originalRequested
|
| }
|
| destRect.intersect(srcRect);
|
| } else {
|
| - srcRect = FloatRect(FloatPoint(), FloatSize(m_image->size()));
|
| + srcRect = FloatRect(FloatPoint(), FloatSize(m_image->defaultConcreteObjectSize()));
|
| m_preserveAspectRatio->transformRect(destRect, srcRect);
|
| }
|
|
|
| @@ -142,7 +142,7 @@ TextStream& FEImage::externalRepresentation(TextStream& ts, int indent) const
|
| {
|
| IntSize imageSize;
|
| if (m_image)
|
| - imageSize = m_image->size();
|
| + imageSize = m_image->defaultConcreteObjectSize();
|
| else if (LayoutObject* layoutObject = referencedLayoutObject())
|
| imageSize = enclosingIntRect(getLayoutObjectRepaintRect(layoutObject)).size();
|
| writeIndent(ts, indent);
|
| @@ -197,7 +197,7 @@ PassRefPtr<SkImageFilter> FEImage::createImageFilter(SkiaImageFilterBuilder& bui
|
| return createTransparentBlack(builder);
|
| }
|
|
|
| - FloatRect srcRect = FloatRect(FloatPoint(), FloatSize(m_image->size()));
|
| + FloatRect srcRect = FloatRect(FloatPoint(), FloatSize(m_image->defaultConcreteObjectSize()));
|
| FloatRect dstRect = filterPrimitiveSubregion();
|
|
|
| m_preserveAspectRatio->transformRect(dstRect, srcRect);
|
|
|