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

Unified Diff: src/effects/SkColorFilters.cpp

Issue 769953002: Remove SK_SUPPORT_LEGACY_DEEPFLATTENING. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years 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/effects/SkColorFilterImageFilter.cpp ('k') | src/effects/SkColorMatrixFilter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/effects/SkColorFilters.cpp
diff --git a/src/effects/SkColorFilters.cpp b/src/effects/SkColorFilters.cpp
index e085281aa5e3901741f6d4c7287da6136749a029..92e6f432f17c24cf5c2d2b020ccc769b88ddeb8d 100644
--- a/src/effects/SkColorFilters.cpp
+++ b/src/effects/SkColorFilters.cpp
@@ -84,17 +84,6 @@ protected:
buffer.writeUInt(fMode);
}
-#ifdef SK_SUPPORT_LEGACY_DEEPFLATTENING
- SkModeColorFilter(SkReadBuffer& buffer) {
- fColor = buffer.readColor();
- fMode = (SkXfermode::Mode)buffer.readUInt();
- if (buffer.isValid()) {
- this->updateCache();
- buffer.validate(SkIsValidMode(fMode));
- }
- }
-#endif
-
private:
SkColor fColor;
SkXfermode::Mode fMode;
« no previous file with comments | « src/effects/SkColorFilterImageFilter.cpp ('k') | src/effects/SkColorMatrixFilter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698