diff options
author | Robert Phillips <robertphillips@google.com> | 2018-01-24 14:46:38 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-01-24 21:54:30 +0000 |
commit | a83d0132baa681339e7e7f018dbdcc4051caae3d (patch) | |
tree | e9be321a81d04cc28a5c388a6f8a8f76ee5a1224 /include/effects | |
parent | 548d387ab935349edd03149502fff8ebe467b5b0 (diff) |
Misc guarding of enums in ImageFilter CreateProcs
Change-Id: I51886aaf2a4670f46ca489b2369dc00e60403c75
Reviewed-on: https://skia-review.googlesource.com/99328
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'include/effects')
-rw-r--r-- | include/effects/SkHighContrastFilter.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/effects/SkHighContrastFilter.h b/include/effects/SkHighContrastFilter.h index 2ac37e7975..fd97c7d48d 100644 --- a/include/effects/SkHighContrastFilter.h +++ b/include/effects/SkHighContrastFilter.h @@ -21,6 +21,8 @@ struct SkHighContrastConfig { kNoInvert, kInvertBrightness, kInvertLightness, + + kLast = kInvertLightness }; SkHighContrastConfig() { |