Index: third_party/WebKit/Source/platform/graphics/Image.h |
diff --git a/third_party/WebKit/Source/platform/graphics/Image.h b/third_party/WebKit/Source/platform/graphics/Image.h |
index bcf6000a79379797055b1eae0a78fa7e58a7aef8..b8f33f384230a096da856ae4422de1fb9519c856 100644 |
--- a/third_party/WebKit/Source/platform/graphics/Image.h |
+++ b/third_party/WebKit/Source/platform/graphics/Image.h |
@@ -145,7 +145,7 @@ public: |
virtual PassRefPtr<SkImage> imageForCurrentFrame() = 0; |
virtual PassRefPtr<Image> imageForDefaultFrame(); |
- virtual void drawPattern(GraphicsContext*, const FloatRect&, |
+ virtual void drawPattern(GraphicsContext&, const FloatRect&, |
const FloatSize&, const FloatPoint& phase, SkXfermode::Mode, |
const FloatRect&, const FloatSize& repeatSpacing = FloatSize()); |
@@ -159,9 +159,9 @@ public: |
protected: |
Image(ImageObserver* = 0); |
- void drawTiled(GraphicsContext*, const FloatRect& dstRect, const FloatPoint& srcPoint, const FloatSize& tileSize, |
+ void drawTiled(GraphicsContext&, const FloatRect& dstRect, const FloatPoint& srcPoint, const FloatSize& tileSize, |
SkXfermode::Mode, const FloatSize& repeatSpacing); |
- void drawTiled(GraphicsContext*, const FloatRect& dstRect, const FloatRect& srcRect, const FloatSize& tileScaleFactor, TileRule hRule, TileRule vRule, SkXfermode::Mode); |
+ void drawTiled(GraphicsContext&, const FloatRect& dstRect, const FloatRect& srcRect, const FloatSize& tileScaleFactor, TileRule hRule, TileRule vRule, SkXfermode::Mode); |
private: |
RefPtr<SharedBuffer> m_encodedImageData; |