aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkXfermode_proccoeff.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/SkXfermode_proccoeff.h')
-rw-r--r--src/core/SkXfermode_proccoeff.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/core/SkXfermode_proccoeff.h b/src/core/SkXfermode_proccoeff.h
index d7b47046d1..f3b9b2491a 100644
--- a/src/core/SkXfermode_proccoeff.h
+++ b/src/core/SkXfermode_proccoeff.h
@@ -22,7 +22,7 @@ public:
fSrcCoeff = rec.fSC;
fDstCoeff = rec.fDC;
}
-
+
virtual void xfer32(SkPMColor dst[], const SkPMColor src[], int count,
const SkAlpha aa[]) const SK_OVERRIDE;
virtual void xfer16(uint16_t dst[], const SkPMColor src[], int count,
@@ -43,6 +43,10 @@ public:
SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkProcCoeffXfermode)
protected:
+#ifdef SK_SUPPORT_LEGACY_DEEPFLATTENING
+ SkProcCoeffXfermode(SkReadBuffer& buffer);
+#endif
+
virtual void flatten(SkWriteBuffer& buffer) const SK_OVERRIDE;
Mode getMode() const { return fMode; }