Index: include/core/SkXfermode.h |
diff --git a/include/core/SkXfermode.h b/include/core/SkXfermode.h |
index 6d723e8fc243e08e8d493558b0938689ecec7cd6..bedcc2456976713cdd7159d3dac16782f038ada9 100644 |
--- a/include/core/SkXfermode.h |
+++ b/include/core/SkXfermode.h |
@@ -215,6 +215,10 @@ |
protected: |
SkXfermode() {} |
+#ifdef SK_SUPPORT_LEGACY_DEEPFLATTENING |
+ explicit SkXfermode(SkReadBuffer& rb) : SkFlattenable(rb) {} |
+#endif |
+ |
/** The default implementation of xfer32/xfer16/xferA8 in turn call this |
method, 1 color at a time (upscaled to a SkPMColor). The default |
implmentation of this method just returns dst. If performance is |