aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkValidationUtils.h
diff options
context:
space:
mode:
authorGravatar Mike Reed <reed@google.com>2017-06-06 10:41:18 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-06-06 15:07:00 +0000
commit6b3542aeb0780e7e3dd1a1e0493164f27add9827 (patch)
tree172eb63f3f0c05596106ab0402738d8218278ca6 /src/core/SkValidationUtils.h
parent3928ff8e0b617c3a00eee1963bc31ce5470fba6d (diff)
move Coeff into blendmode
Bug: skia: Change-Id: Ib4f3398b0cdc6b0f575f6db80d2ce0bf9666f077 Reviewed-on: https://skia-review.googlesource.com/18843 Reviewed-by: Mike Reed <reed@google.com> Commit-Queue: Mike Reed <reed@google.com>
Diffstat (limited to 'src/core/SkValidationUtils.h')
-rw-r--r--src/core/SkValidationUtils.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/core/SkValidationUtils.h b/src/core/SkValidationUtils.h
index 5e2b91d4d3..84b906a650 100644
--- a/src/core/SkValidationUtils.h
+++ b/src/core/SkValidationUtils.h
@@ -12,12 +12,6 @@
#include "SkBlendMode.h"
#include "SkXfermodePriv.h"
-/** Returns true if coeff's value is in the SkXfermode::Coeff enum.
- */
-static inline bool SkIsValidCoeff(SkXfermode::Coeff coeff) {
- return coeff >= 0 && coeff < SkXfermode::kCoeffCount;
-}
-
/** Returns true if mode's value is in the SkBlendMode enum.
*/
static inline bool SkIsValidMode(SkBlendMode mode) {