Index: include/core/SkShader.h |
diff --git a/include/core/SkShader.h b/include/core/SkShader.h |
index 74f611d3e53b2eabd84eb566ddd0059c71104020..11956ce0d2d187f8401b5224b7e12cd3cc80345e 100644 |
--- a/include/core/SkShader.h |
+++ b/include/core/SkShader.h |
@@ -344,6 +344,8 @@ public: |
SkDEVCODE(virtual void toString(SkString* str) const;) |
+ SK_DEFINE_FLATTENABLE_TYPE(SkShader) |
+ |
protected: |
enum MatrixClass { |
kLinear_MatrixClass, // no perspective |