Index: src/core/SkEmptyShader.h |
diff --git a/src/core/SkEmptyShader.h b/src/core/SkEmptyShader.h |
index b7fefbe109c1820b4c2fc3636dd9a6204097e29f..250e37ab6626c2c15b03ef3025cf5204d21cf470 100644 |
--- a/src/core/SkEmptyShader.h |
+++ b/src/core/SkEmptyShader.h |
@@ -30,6 +30,10 @@ |
SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkEmptyShader) |
protected: |
+#ifdef SK_SUPPORT_LEGACY_DEEPFLATTENING |
+ SkEmptyShader(SkReadBuffer& buffer) : INHERITED(buffer) {} |
+#endif |
+ |
virtual SkShader::Context* onCreateContext(const ContextRec&, void*) const SK_OVERRIDE { |
return NULL; |
} |