Index: include/effects/SkPixelXorXfermode.h |
diff --git a/include/effects/SkPixelXorXfermode.h b/include/effects/SkPixelXorXfermode.h |
index 837257ec2c71a20273d7aca158df5f073c71826a..64648457f8f61d66e13af1094fe3c4edca794306 100644 |
--- a/include/effects/SkPixelXorXfermode.h |
+++ b/include/effects/SkPixelXorXfermode.h |
@@ -25,17 +25,13 @@ public: |
SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkPixelXorXfermode) |
protected: |
- SkPixelXorXfermode(SkReadBuffer& rb); |
+ explicit SkPixelXorXfermode(SkColor opColor) : fOpColor(opColor) {} |
+ explicit SkPixelXorXfermode(SkReadBuffer& rb); |
virtual void flatten(SkWriteBuffer&) const SK_OVERRIDE; |
// override from SkXfermode |
virtual SkPMColor xferColor(SkPMColor src, SkPMColor dst) const; |
-#ifdef SK_SUPPORT_LEGACY_PUBLICEFFECTCONSTRUCTORS |
-public: |
-#endif |
- SkPixelXorXfermode(SkColor opColor) : fOpColor(opColor) {} |
- |
private: |
SkColor fOpColor; |