Index: include/effects/SkEmbossMaskFilter.h |
diff --git a/include/effects/SkEmbossMaskFilter.h b/include/effects/SkEmbossMaskFilter.h |
index a1e2af46ce0981e24497c058e68b9446e1e640dd..74895fb0cf32e8fbb6d0f3c5467a8596c260a273 100644 |
--- a/include/effects/SkEmbossMaskFilter.h |
+++ b/include/effects/SkEmbossMaskFilter.h |
@@ -37,7 +37,9 @@ public: |
protected: |
SkEmbossMaskFilter(SkScalar blurSigma, const Light& light); |
+#ifdef SK_SUPPORT_LEGACY_DEEPFLATTENING |
explicit SkEmbossMaskFilter(SkReadBuffer&); |
+#endif |
virtual void flatten(SkWriteBuffer&) const SK_OVERRIDE; |
private: |