Index: third_party/WebKit/Source/platform/mac/LocalCurrentGraphicsContext.mm |
diff --git a/third_party/WebKit/Source/platform/mac/LocalCurrentGraphicsContext.mm b/third_party/WebKit/Source/platform/mac/LocalCurrentGraphicsContext.mm |
index 0ba7670c23bb0905fd3e5a08519a5c61e006c437..fff7223ce3d3aeb64badd9ca737dd668a8468806 100644 |
--- a/third_party/WebKit/Source/platform/mac/LocalCurrentGraphicsContext.mm |
+++ b/third_party/WebKit/Source/platform/mac/LocalCurrentGraphicsContext.mm |
@@ -28,14 +28,14 @@ |
namespace blink { |
-LocalCurrentGraphicsContext::LocalCurrentGraphicsContext(GraphicsContext* graphicsContext, const IntRect& dirtyRect) |
- : LocalCurrentGraphicsContext(graphicsContext->canvas(), graphicsContext->deviceScaleFactor(), nullptr, dirtyRect) |
+LocalCurrentGraphicsContext::LocalCurrentGraphicsContext(GraphicsContext& graphicsContext, const IntRect& dirtyRect) |
+ : LocalCurrentGraphicsContext(graphicsContext.canvas(), graphicsContext.deviceScaleFactor(), nullptr, dirtyRect) |
{ |
} |
-LocalCurrentGraphicsContext::LocalCurrentGraphicsContext(GraphicsContext* graphicsContext, const IntRect* interestRect, |
+LocalCurrentGraphicsContext::LocalCurrentGraphicsContext(GraphicsContext& graphicsContext, const IntRect* interestRect, |
const IntRect& dirtyRect) |
- : LocalCurrentGraphicsContext(graphicsContext->canvas(), graphicsContext->deviceScaleFactor(), interestRect, dirtyRect) |
+ : LocalCurrentGraphicsContext(graphicsContext.canvas(), graphicsContext.deviceScaleFactor(), interestRect, dirtyRect) |
{ |
} |