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

Unified Diff: gm/imagefiltersbase.cpp

Issue 1834303003: Delete SkFlattenable::Type (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 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
« no previous file with comments | « no previous file | gm/imagefiltersgraph.cpp » ('j') | src/core/SkValidatingReadBuffer.cpp » ('J')
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 ca8a2d421a758342248e5d489875c6868fb64f51..ffbde50834a63968c1ce9dbfe3bb34d648451c64 100644
--- a/gm/imagefiltersbase.cpp
+++ b/gm/imagefiltersbase.cpp
@@ -22,8 +22,7 @@ public:
public:
Registrar() {
SkFlattenable::Register("FailImageFilter",
- FailImageFilter::CreateProc,
- FailImageFilter::GetFlattenableType());
+ FailImageFilter::CreateProc);
}
};
static FailImageFilter* Create() { return new FailImageFilter; }
@@ -63,8 +62,7 @@ public:
public:
Registrar() {
SkFlattenable::Register("IdentityImageFilter",
- IdentityImageFilter::CreateProc,
- IdentityImageFilter::GetFlattenableType());
+ IdentityImageFilter::CreateProc);
}
};
static IdentityImageFilter* Create(SkImageFilter* input = nullptr) {
« no previous file with comments | « no previous file | gm/imagefiltersgraph.cpp » ('j') | src/core/SkValidatingReadBuffer.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698