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

Unified Diff: include/core/SkColorFilter.h

Issue 395603002: Simplify flattening to just write enough to call the factory (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 5 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 | « no previous file | include/core/SkDrawLooper.h » ('j') | include/core/SkImageFilter.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkColorFilter.h
diff --git a/include/core/SkColorFilter.h b/include/core/SkColorFilter.h
index 25e6bbe746bb2f7ca9b62d5349a08db989cc56f3..5ddd6af08634fabcf5e593b4031665075c38d797 100644
--- a/include/core/SkColorFilter.h
+++ b/include/core/SkColorFilter.h
@@ -135,7 +135,9 @@ public:
protected:
SkColorFilter() {}
+#ifdef SK_SUPPORT_LEGACY_DEEPFLATTENING
Stephen White 2014/07/17 21:29:00 Nanonit: Isn't this unflattening? ;)
reed1 2014/07/18 13:40:29 The flattened format is no longer "deep", in that
Stephen White 2014/07/18 14:06:20 I misread this as "deflattening". Nix that nit.
SkColorFilter(SkReadBuffer& rb) : INHERITED(rb) {}
+#endif
private:
typedef SkFlattenable INHERITED;
« no previous file with comments | « no previous file | include/core/SkDrawLooper.h » ('j') | include/core/SkImageFilter.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698