| Index: sky/engine/platform/graphics/GraphicsContext.cpp
|
| diff --git a/sky/engine/platform/graphics/GraphicsContext.cpp b/sky/engine/platform/graphics/GraphicsContext.cpp
|
| index 1a8451c070a3d87c0153a49ea240b4e729a2ed42..6765a71c91c15710ac9e76f48c50be312f3bd0cc 100644
|
| --- a/sky/engine/platform/graphics/GraphicsContext.cpp
|
| +++ b/sky/engine/platform/graphics/GraphicsContext.cpp
|
| @@ -980,7 +980,7 @@ void GraphicsContext::drawPicture(PassRefPtr<SkPicture> picture, const FloatRect
|
| RefPtr<SkPictureImageFilter> pictureFilter = adoptRef(SkPictureImageFilter::Create(picture.get(), sourceBounds));
|
| SkMatrix layerScale;
|
| layerScale.setScale(deviceDest.width() / src.width(), deviceDest.height() / src.height());
|
| - RefPtr<SkMatrixImageFilter> matrixFilter = adoptRef(SkMatrixImageFilter::Create(layerScale, SkPaint::kLow_FilterLevel, pictureFilter.get()));
|
| + RefPtr<SkMatrixImageFilter> matrixFilter = adoptRef(SkMatrixImageFilter::Create(layerScale, kLow_SkFilterQuality, pictureFilter.get()));
|
| SkPaint picturePaint;
|
| picturePaint.setXfermodeMode(WebCoreCompositeToSkiaComposite(op, blendMode));
|
| picturePaint.setImageFilter(matrixFilter.get());
|
| @@ -1791,7 +1791,7 @@ void GraphicsContext::preparePaintForDrawRectToRect(
|
| resampling = InterpolationLow;
|
| }
|
| resampling = limitInterpolationQuality(this, resampling);
|
| - paint->setFilterLevel(static_cast<SkPaint::FilterLevel>(resampling));
|
| + paint->setFilterQuality(static_cast<SkFilterQuality>(resampling));
|
| }
|
|
|
| } // namespace blink
|
|
|