Index: include/effects/SkLayerRasterizer.h |
diff --git a/include/effects/SkLayerRasterizer.h b/include/effects/SkLayerRasterizer.h |
index 44cbfa0b1d6dd760351c56db119a3798b4f9de4f..60b3f205c37567b3c77b8a5e5cc62114ddc15675 100644 |
--- a/include/effects/SkLayerRasterizer.h |
+++ b/include/effects/SkLayerRasterizer.h |
@@ -69,7 +69,9 @@ public: |
protected: |
SkLayerRasterizer(); |
SkLayerRasterizer(SkDeque* layers); |
+#ifdef SK_SUPPORT_LEGACY_DEEPFLATTENING |
SkLayerRasterizer(SkReadBuffer&); |
+#endif |
virtual void flatten(SkWriteBuffer&) const SK_OVERRIDE; |
// override from SkRasterizer |