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

Unified Diff: gm/imagefiltersbase.cpp

Issue 1853383002: Revert of Delete SkFlattenable::Type (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « no previous file | gm/imagefiltersgraph.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/imagefiltersbase.cpp
diff --git a/gm/imagefiltersbase.cpp b/gm/imagefiltersbase.cpp
index 3cb43a8392f0f9e976d87fa80fc2f3256b468325..e2e92356e09f49e0777032e82a3c3d115ebc0d4b 100644
--- a/gm/imagefiltersbase.cpp
+++ b/gm/imagefiltersbase.cpp
@@ -23,7 +23,8 @@
public:
Registrar() {
SkFlattenable::Register("FailImageFilter",
- FailImageFilter::CreateProc);
+ FailImageFilter::CreateProc,
+ FailImageFilter::GetFlattenableType());
}
};
static sk_sp<SkImageFilter> Make() {
@@ -65,7 +66,8 @@
public:
Registrar() {
SkFlattenable::Register("IdentityImageFilter",
- IdentityImageFilter::CreateProc);
+ IdentityImageFilter::CreateProc,
+ IdentityImageFilter::GetFlattenableType());
}
};
static sk_sp<SkImageFilter> Make(sk_sp<SkImageFilter> input) {
« no previous file with comments | « no previous file | gm/imagefiltersgraph.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698