Index: third_party/WebKit/Source/platform/graphics/RecordingImageBufferSurface.cpp |
diff --git a/third_party/WebKit/Source/platform/graphics/RecordingImageBufferSurface.cpp b/third_party/WebKit/Source/platform/graphics/RecordingImageBufferSurface.cpp |
index 5c51f5b3c698b6b1f60cbc7828e1e95c2b3974a5..0c187dd85e3b3225f79a8f5a7491c22cb77ddc6e 100644 |
--- a/third_party/WebKit/Source/platform/graphics/RecordingImageBufferSurface.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/RecordingImageBufferSurface.cpp |
@@ -205,7 +205,7 @@ bool RecordingImageBufferSurface::finalizeFrameInternal() |
return true; |
} |
-void RecordingImageBufferSurface::draw(GraphicsContext* context, const FloatRect& destRect, const FloatRect& srcRect, SkXfermode::Mode op) |
+void RecordingImageBufferSurface::draw(GraphicsContext& context, const FloatRect& destRect, const FloatRect& srcRect, SkXfermode::Mode op) |
{ |
if (m_fallbackSurface) { |
m_fallbackSurface->draw(context, destRect, srcRect, op); |
@@ -214,7 +214,7 @@ void RecordingImageBufferSurface::draw(GraphicsContext* context, const FloatRect |
RefPtr<SkPicture> picture = getPicture(); |
if (picture) { |
- context->compositePicture(picture.get(), destRect, srcRect, op); |
+ context.compositePicture(picture.get(), destRect, srcRect, op); |
} else { |
ImageBufferSurface::draw(context, destRect, srcRect, op); |
} |