Index: include/effects/SkColorMatrixFilter.h |
diff --git a/include/effects/SkColorMatrixFilter.h b/include/effects/SkColorMatrixFilter.h |
index 057e5cc3256a5bf72ecaf02e794e37fa48a6c962..851a6e900298dc7618aba2ebe5a582c0d81f5b53 100644 |
--- a/include/effects/SkColorMatrixFilter.h |
+++ b/include/effects/SkColorMatrixFilter.h |
@@ -29,11 +29,6 @@ public: |
const GrFragmentProcessor* asFragmentProcessor(GrContext*) const override; |
#endif |
- struct State { |
- int32_t fArray[20]; |
- int fShift; |
- }; |
- |
SK_TO_STRING_OVERRIDE() |
SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkColorMatrixFilter) |
@@ -46,13 +41,7 @@ protected: |
private: |
SkColorMatrix fMatrix; |
float fTranspose[SkColorMatrix::kCount]; // for Sk4s |
- |
- typedef void (*Proc)(const State&, unsigned r, unsigned g, unsigned b, |
- unsigned a, int32_t result[4]); |
- |
- Proc fProc; |
- State fState; |
- uint32_t fFlags; |
+ uint32_t fFlags; |
void initState(const SkScalar array[20]); |