Index: src/ports/SkFontMgr_android_parser.h |
diff --git a/src/ports/SkFontMgr_android_parser.h b/src/ports/SkFontMgr_android_parser.h |
index aca1573952d17f4237387847c8dc35d68fe8bf4b..b841bc6d189d342de8029fa005b4b793b46e8953 100644 |
--- a/src/ports/SkFontMgr_android_parser.h |
+++ b/src/ports/SkFontMgr_android_parser.h |
@@ -211,7 +211,7 @@ template <int N, typename T> static bool parse_fixed(const char* s, T* value) { |
n = -n; |
frac = -frac; |
} |
- *value = (n << N) + frac; |
+ *value = SkLeftShift(n, N) + frac; |
return true; |
} |