| Index: src/ports/SkFontHost_win.cpp
|
| diff --git a/src/ports/SkFontHost_win.cpp b/src/ports/SkFontHost_win.cpp
|
| index aee2b863e6477a47e866929328d1b2bc28cd241f..82b99d601d90a4278f773684fabeb32dd09272e8 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(x * 255);
|
| + int xx = SkScalarRoundToInt(x * 255);
|
| table[i] = SkToU8(xx);
|
| }
|
| }
|
|
|