Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / third_party / skia / src / core / SkDebug.cpp
index 7723522..d484f5e 100644 (file)
@@ -46,4 +46,9 @@ int SkToInt(intmax_t x) {
     return (int)x;
 }
 
+unsigned SkToUInt(uintmax_t x) {
+    SkASSERT((unsigned)x == x);
+    return (unsigned)x;
+}
+
 #endif