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; |
}; |