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

Unified Diff: gm/imagefiltersbase.cpp

Issue 769953002: Remove SK_SUPPORT_LEGACY_DEEPFLATTENING. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years 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 4546b8add2486a5e17545d0f05be05b9bbd74b60..749334a61ea28154aa86e27be25895252fb244c7 100644
--- a/gm/imagefiltersbase.cpp
+++ b/gm/imagefiltersbase.cpp
@@ -22,11 +22,7 @@ public:
public:
Registrar() {
SkFlattenable::Register("FailImageFilter",
-#ifdef SK_SUPPORT_LEGACY_DEEPFLATTENING
- FailImageFilter::DeepCreateProc,
-#else
FailImageFilter::CreateProc,
-#endif
FailImageFilter::GetFlattenableType());
}
};
@@ -44,10 +40,6 @@ protected:
return false;
}
-#ifdef SK_SUPPORT_LEGACY_DEEPFLATTENING
- FailImageFilter(SkReadBuffer& buffer) : INHERITED(0, buffer) {}
-#endif
-
private:
typedef SkImageFilter INHERITED;
};
@@ -65,11 +57,7 @@ public:
public:
Registrar() {
SkFlattenable::Register("IdentityImageFilter",
-#ifdef SK_SUPPORT_LEGACY_DEEPFLATTENING
- IdentityImageFilter::DeepCreateProc,
-#else
IdentityImageFilter::CreateProc,
-#endif
IdentityImageFilter::GetFlattenableType());
}
};
@@ -88,10 +76,6 @@ protected:
return true;
}
-#ifdef SK_SUPPORT_LEGACY_DEEPFLATTENING
- IdentityImageFilter(SkReadBuffer& buffer) : INHERITED(1, buffer) {}
-#endif
-
private:
typedef SkImageFilter INHERITED;
};
« 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