Index: src/core/SkValidationUtils.h |
diff --git a/src/core/SkValidationUtils.h b/src/core/SkValidationUtils.h |
index 683da29c187645048420235ba2a39ce74922ee54..e9e59866ca991aa6aba5968d20312f390d5eb90d 100644 |
--- a/src/core/SkValidationUtils.h |
+++ b/src/core/SkValidationUtils.h |
@@ -23,12 +23,6 @@ static inline bool SkIsValidMode(SkXfermode::Mode mode) { |
return (mode >= 0) && (mode <= SkXfermode::kLastMode); |
} |
-/** Returns true if config's value is in the SkBitmap::Config enum. |
- */ |
-static inline bool SkIsValidConfig(SkBitmap::Config config) { |
- return (config >= 0) && (config <= static_cast<int>(SkBitmap::kConfigCount)); |
-} |
- |
/** Returns true if the rect's dimensions are between 0 and SK_MaxS32 |
*/ |
static inline bool SkIsValidIRect(const SkIRect& rect) { |