Index: src/ports/SkFontHost_win.cpp |
diff --git a/src/ports/SkFontHost_win.cpp b/src/ports/SkFontHost_win.cpp |
index 0aad4f8a221be88661a97226128517e0e8a9dd15..aee2b863e6477a47e866929328d1b2bc28cd241f 100755 |
--- a/src/ports/SkFontHost_win.cpp |
+++ b/src/ports/SkFontHost_win.cpp |
@@ -1065,7 +1065,7 @@ static void build_power_table(uint8_t table[], float ee) { |
for (int i = 0; i < 256; i++) { |
float x = i / 255.f; |
x = sk_float_pow(x, ee); |
- int xx = SkScalarRound(SkFloatToScalar(x * 255)); |
+ int xx = SkScalarRound(x * 255); |
table[i] = SkToU8(xx); |
} |
} |