Index: include/core/SkRasterizer.h |
diff --git a/include/core/SkRasterizer.h b/include/core/SkRasterizer.h |
index d6e514c26321ea963c7134bfa15b0b562d45a9e2..3280f426111560507205ec4538447abe8df4a144 100644 |
--- a/include/core/SkRasterizer.h |
+++ b/include/core/SkRasterizer.h |
@@ -32,7 +32,9 @@ public: |
protected: |
SkRasterizer() {} |
+#ifdef SK_SUPPORT_LEGACY_DEEPFLATTENING |
SkRasterizer(SkReadBuffer& buffer) : INHERITED(buffer) {} |
+#endif |
virtual bool onRasterize(const SkPath& path, const SkMatrix& matrix, |
const SkIRect* clipBounds, |