| 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 2cd05cf5c983758b0e5e2e2b3e13aec8c6e470bc..4b768c8df45a12c7d42dcba72c688322d3b9d213 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/GraphicsContext.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/GraphicsContext.cpp
|
| @@ -829,21 +829,21 @@ SkFilterQuality GraphicsContext::computeFilterQuality(Image* image, const FloatR
|
| resampling = InterpolationLow;
|
| }
|
| }
|
| - return static_cast<SkFilterQuality>(limitInterpolationQuality(this, resampling));
|
| + return static_cast<SkFilterQuality>(limitInterpolationQuality(*this, resampling));
|
| }
|
|
|
| void GraphicsContext::drawTiledImage(Image* image, const FloatRect& destRect, const FloatPoint& srcPoint, const FloatSize& tileSize, SkXfermode::Mode op, const FloatSize& repeatSpacing)
|
| {
|
| if (contextDisabled() || !image)
|
| return;
|
| - image->drawTiled(this, destRect, srcPoint, tileSize, op, repeatSpacing);
|
| + image->drawTiled(*this, destRect, srcPoint, tileSize, op, repeatSpacing);
|
| }
|
|
|
| void GraphicsContext::drawTiledImage(Image* image, const IntRect& destRect, const IntPoint& srcPoint, const IntSize& tileSize, SkXfermode::Mode op, const IntSize& repeatSpacing)
|
| {
|
| if (contextDisabled() || !image)
|
| return;
|
| - image->drawTiled(this, destRect, srcPoint, FloatSize(tileSize), op, FloatSize(repeatSpacing));
|
| + image->drawTiled(*this, destRect, srcPoint, FloatSize(tileSize), op, FloatSize(repeatSpacing));
|
| }
|
|
|
| void GraphicsContext::drawTiledImage(Image* image, const FloatRect& dest, const FloatRect& srcRect,
|
| @@ -858,7 +858,7 @@ void GraphicsContext::drawTiledImage(Image* image, const FloatRect& dest, const
|
| return;
|
| }
|
|
|
| - image->drawTiled(this, dest, srcRect, tileScaleFactor, hRule, vRule, op);
|
| + image->drawTiled(*this, dest, srcRect, tileScaleFactor, hRule, vRule, op);
|
| }
|
|
|
| void GraphicsContext::drawOval(const SkRect& oval, const SkPaint& paint)
|
|
|