Index: third_party/WebKit/Source/platform/graphics/GraphicsContext.cpp |
diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsContext.cpp b/third_party/WebKit/Source/platform/graphics/GraphicsContext.cpp |
index 5704e7d39dbb0b04478aee3b9a4808af2fca4f65..42bdc7b80f465091f0ef3009b7b5a6a4bb0f6a89 100644 |
--- a/third_party/WebKit/Source/platform/graphics/GraphicsContext.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsContext.cpp |
@@ -344,7 +344,7 @@ void GraphicsContext::compositePicture(SkPicture* picture, const FloatRect& dest |
SkMatrix pictureTransform; |
pictureTransform.setRectToRect(sourceBounds, skBounds, SkMatrix::kFill_ScaleToFit); |
m_canvas->concat(pictureTransform); |
- RefPtr<SkPictureImageFilter> pictureFilter = adoptRef(SkPictureImageFilter::CreateForLocalSpace(picture, sourceBounds, static_cast<SkFilterQuality>(imageInterpolationQuality()))); |
+ RefPtr<SkImageFilter> pictureFilter = adoptRef(SkPictureImageFilter::CreateForLocalSpace(picture, sourceBounds, static_cast<SkFilterQuality>(imageInterpolationQuality()))); |
picturePaint.setImageFilter(pictureFilter.get()); |
m_canvas->saveLayer(&sourceBounds, &picturePaint); |
m_canvas->restore(); |