diff options
author | Adrienne Walker <enne@chromium.org> | 2017-08-23 13:26:32 -0700 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-08-23 21:47:27 +0000 |
commit | ba9741d46718c44d6e95e990c476d865c1cf4e55 (patch) | |
tree | cd76046371521ecf2dfd531a915343ad24fcd023 /include | |
parent | 75109accaf8a8ca45fe26b5effdd5fe0641bd8ff (diff) |
Validate rrect type in SkRRect::isValid
Bug: chromium: 758161
Change-Id: I2472ff59af2fab05d94d88d5effb44828e8a5132
Reviewed-on: https://skia-review.googlesource.com/37800
Reviewed-by: Mike Klein <mtklein@google.com>
Commit-Queue: Mike Klein <mtklein@google.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/core/SkRRect.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/core/SkRRect.h b/include/core/SkRRect.h index 4b7a33e43f..f359c9c167 100644 --- a/include/core/SkRRect.h +++ b/include/core/SkRRect.h @@ -83,6 +83,8 @@ public: //!< different from the others and there must be one corner where //!< both radii are non-zero. kComplex_Type, + + kLastType = kComplex_Type, }; /** |