| Index: Source/core/svg/graphics/filters/SVGFEImage.cpp
|
| diff --git a/Source/core/svg/graphics/filters/SVGFEImage.cpp b/Source/core/svg/graphics/filters/SVGFEImage.cpp
|
| index 9bc816ec86142b77db43d541a11fa266cd4aa239..943d1fcf4a3f10b6122845a12613ea66a8860713 100644
|
| --- a/Source/core/svg/graphics/filters/SVGFEImage.cpp
|
| +++ b/Source/core/svg/graphics/filters/SVGFEImage.cpp
|
| @@ -217,11 +217,7 @@ PassRefPtr<SkImageFilter> FEImage::createImageFilter(SkiaImageFilterBuilder* bui
|
|
|
| m_preserveAspectRatio->transformRect(dstRect, srcRect);
|
|
|
| - if (!m_image->nativeImageForCurrentFrame())
|
| - return adoptRef(SkBitmapSource::Create(SkBitmap()));
|
| -
|
| - RefPtr<SkImageFilter> result = adoptRef(SkBitmapSource::Create(m_image->nativeImageForCurrentFrame()->bitmap(), srcRect, dstRect));
|
| - return result.release();
|
| + return adoptRef(SkBitmapSource::Create(m_image->bitmapForCurrentFrame(), srcRect, dstRect));
|
| }
|
|
|
| } // namespace blink
|
|
|