Index: include/effects/SkPixelXorXfermode.h |
diff --git a/include/effects/SkPixelXorXfermode.h b/include/effects/SkPixelXorXfermode.h |
index 64648457f8f61d66e13af1094fe3c4edca794306..eb485b465244198fda445ba130419a9928d48b33 100644 |
--- a/include/effects/SkPixelXorXfermode.h |
+++ b/include/effects/SkPixelXorXfermode.h |
@@ -26,7 +26,9 @@ public: |
protected: |
explicit SkPixelXorXfermode(SkColor opColor) : fOpColor(opColor) {} |
+#ifdef SK_SUPPORT_LEGACY_DEEPFLATTENING |
explicit SkPixelXorXfermode(SkReadBuffer& rb); |
+#endif |
virtual void flatten(SkWriteBuffer&) const SK_OVERRIDE; |
// override from SkXfermode |