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 be8cab138964acf9a47307b39c97dc8194edd8f6..066c19427c56c7ceb4e2e7bd033a7a4595996710 100644 |
--- a/third_party/WebKit/Source/platform/graphics/GraphicsContext.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsContext.cpp |
@@ -297,7 +297,7 @@ sk_sp<PaintRecord> GraphicsContext::endRecording() { |
return record; |
} |
-void GraphicsContext::drawRecord(const PaintRecord* record) { |
+void GraphicsContext::drawRecord(sk_sp<const PaintRecord> record) { |
if (contextDisabled() || !record || record->cullRect().isEmpty()) |
return; |