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 0f9629f48d5d391821eb71bd0db8549704176d73..3fa40ad441e27983c098c42dc43d61d60170daf7 100644 |
--- a/third_party/WebKit/Source/core/svg/graphics/filters/SVGFEImage.cpp |
+++ b/third_party/WebKit/Source/core/svg/graphics/filters/SVGFEImage.cpp |
@@ -32,10 +32,10 @@ |
#include "platform/graphics/GraphicsContext.h" |
#include "platform/graphics/filters/Filter.h" |
#include "platform/graphics/filters/SkiaImageFilterBuilder.h" |
+#include "platform/graphics/paint/PaintRecord.h" |
#include "platform/graphics/paint/SkPictureBuilder.h" |
#include "platform/text/TextStream.h" |
#include "platform/transforms/AffineTransform.h" |
-#include "third_party/skia/include/core/SkPicture.h" |
#include "third_party/skia/include/effects/SkImageSource.h" |
#include "third_party/skia/include/effects/SkPictureImageFilter.h" |
@@ -185,7 +185,8 @@ sk_sp<SkImageFilter> FEImage::createImageFilterForLayoutObject( |
SVGPaintContext::paintSubtree(filterPicture.context(), &layoutObject); |
} |
- return SkPictureImageFilter::Make(filterPicture.endRecording(), dstRect); |
+ return SkPictureImageFilter::Make(ToSkPicture(filterPicture.endRecording()), |
+ dstRect); |
} |
sk_sp<SkImageFilter> FEImage::createImageFilter() { |