Index: src/effects/SkColorMatrixFilter.cpp |
diff --git a/src/effects/SkColorMatrixFilter.cpp b/src/effects/SkColorMatrixFilter.cpp |
index 20702920de202637315aa730cd16948416d047bc..27231b1466312402ae4930f34db39ed7ed85a79f 100644 |
--- a/src/effects/SkColorMatrixFilter.cpp |
+++ b/src/effects/SkColorMatrixFilter.cpp |
@@ -307,15 +307,6 @@ void SkColorMatrixFilter::flatten(SkWriteBuffer& buffer) const { |
buffer.writeScalarArray(fMatrix.fMat, 20); |
} |
-#ifdef SK_SUPPORT_LEGACY_DEEPFLATTENING |
-SkColorMatrixFilter::SkColorMatrixFilter(SkReadBuffer& buffer) : INHERITED(buffer) { |
- SkASSERT(buffer.getArrayCount() == 20); |
- if (buffer.readScalarArray(fMatrix.fMat, 20)) { |
- this->initState(fMatrix.fMat); |
- } |
-} |
-#endif |
- |
SkFlattenable* SkColorMatrixFilter::CreateProc(SkReadBuffer& buffer) { |
SkColorMatrix matrix; |
if (buffer.readScalarArray(matrix.fMat, 20)) { |