aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkTypes.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/core/SkTypes.h')
-rw-r--r--include/core/SkTypes.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/core/SkTypes.h b/include/core/SkTypes.h
index 8961aa065d..fa21adcb41 100644
--- a/include/core/SkTypes.h
+++ b/include/core/SkTypes.h
@@ -151,13 +151,13 @@ typedef uint8_t SkBool8;
/** Returns true if the value can be represented with signed 16bits
*/
-static bool SkIsS16(long x) {
+static inline bool SkIsS16(long x) {
return (int16_t)x == x;
}
/** Returns true if the value can be represented with unsigned 16bits
*/
-static bool SkIsU16(long x) {
+static inline bool SkIsU16(long x) {
return (uint16_t)x == x;
}