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

Unified Diff: third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.cpp

Issue 2472543002: remove legacy Skia flags (Closed)
Patch Set: address nit Created 4 years, 1 month 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/modules/canvas2d/CanvasRenderingContext2D.cpp
diff --git a/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.cpp b/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.cpp
index c8eaa99109698fc14880aa0270d8cb9077ca47f1..f7c2771743141f28f8d65ed237fec5339e22348b 100644
--- a/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.cpp
+++ b/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.cpp
@@ -379,7 +379,7 @@ bool CanvasRenderingContext2D::stateHasFilter() {
return state().hasFilter(canvas(), canvas()->size(), this);
}
-SkImageFilter* CanvasRenderingContext2D::stateGetFilter() {
+sk_sp<SkImageFilter> CanvasRenderingContext2D::stateGetFilter() {
return state().getFilter(canvas(), canvas()->size(), this);
}

Powered by Google App Engine
This is Rietveld 408576698