Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Unified Diff: src/core/SkDraw.cpp

Issue 841753002: Remove macros that make it look like it's a good idea to not be able to flatten. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: DummyRasterizer too Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/animator/SkDrawExtraPathEffect.cpp ('k') | tests/LayerRasterizerTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 {
« no previous file with comments | « src/animator/SkDrawExtraPathEffect.cpp ('k') | tests/LayerRasterizerTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698