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 bac530d4d83d14566d082b7981998d5b0f5cfa26..7234bb822490b2f676d4bcf3df3330e4e615f6ba 100644 |
--- a/third_party/WebKit/Source/platform/graphics/GraphicsContext.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsContext.cpp |
@@ -78,7 +78,7 @@ GraphicsContext::GraphicsContext(PaintController& paintController, |
m_paintState = m_paintStateStack.last().get(); |
if (contextDisabled()) { |
- DEFINE_STATIC_LOCAL(SkCanvas*, nullCanvas, (SkCreateNullCanvas())); |
+ DEFINE_STATIC_LOCAL(SkCanvas*, nullCanvas, (SkMakeNullCanvas().release())); |
m_canvas = nullCanvas; |
} |
} |