Index: include/effects/SkAvoidXfermode.h |
diff --git a/include/effects/SkAvoidXfermode.h b/include/effects/SkAvoidXfermode.h |
index a2599a8130a803e6b3bf4fd9795a50c7cca7ada9..53ce708e36ff8e7a4de69249b5642ac8e0122954 100644 |
--- a/include/effects/SkAvoidXfermode.h |
+++ b/include/effects/SkAvoidXfermode.h |
@@ -54,12 +54,15 @@ public: |
protected: |
SkAvoidXfermode(SkColor opColor, U8CPU tolerance, Mode mode); |
+#ifdef SK_SUPPORT_LEGACY_DEEPFLATTENING |
explicit SkAvoidXfermode(SkReadBuffer&); |
+#endif |
virtual void flatten(SkWriteBuffer&) const SK_OVERRIDE; |
private: |
SkColor fOpColor; |
- uint32_t fDistMul; // x.14 |
+ uint32_t fDistMul; // x.14 cached from fTolerance |
+ uint8_t fTolerance; |
Mode fMode; |
typedef SkXfermode INHERITED; |