Index: src/core/SkDraw.cpp |
diff --git a/src/core/SkDraw.cpp b/src/core/SkDraw.cpp |
index 0a6365c335fc7e5fe421e69701d7d65a83214279..1e1ce0763155f11461f6269e72e0ca17a114641f 100644 |
--- a/src/core/SkDraw.cpp |
+++ b/src/core/SkDraw.cpp |
@@ -2035,7 +2035,9 @@ public: |
}; |
SK_TO_STRING_OVERRIDE() |
- SK_DECLARE_NOT_FLATTENABLE_PROCS(SkTriColorShader) |
+ |
+ // For serialization. This will never be called. |
+ Factory getFactory() const SK_OVERRIDE { sk_throw(); return NULL; } |
protected: |
virtual Context* onCreateContext(const ContextRec& rec, void* storage) const SK_OVERRIDE { |