Index: src/effects/SkArithmeticMode.cpp |
diff --git a/src/effects/SkArithmeticMode.cpp b/src/effects/SkArithmeticMode.cpp |
index 6fb5241c82ace517ecbc1e507200dd3584c38585..d1e7472f06e6d73776e67f9547d2ca175c268af4 100644 |
--- a/src/effects/SkArithmeticMode.cpp |
+++ b/src/effects/SkArithmeticMode.cpp |
@@ -49,16 +49,6 @@ private: |
fEnforcePMColor = enforcePMColor; |
} |
-#ifdef SK_SUPPORT_LEGACY_DEEPFLATTENING |
- SkArithmeticMode_scalar(SkReadBuffer& buffer) : INHERITED(buffer) { |
- fK[0] = buffer.readScalar(); |
- fK[1] = buffer.readScalar(); |
- fK[2] = buffer.readScalar(); |
- fK[3] = buffer.readScalar(); |
- fEnforcePMColor = buffer.readBool(); |
- } |
-#endif |
- |
virtual void flatten(SkWriteBuffer& buffer) const SK_OVERRIDE { |
buffer.writeScalar(fK[0]); |
buffer.writeScalar(fK[1]); |