Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(831)

Unified Diff: third_party/WebKit/Source/platform/graphics/GraphicsContext.cpp

Issue 2743363006: Clean up cc/paint interfaces (Closed)
Patch Set: Rebase Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698