| Index: ui/gfx/gdi_util.cc
|
| diff --git a/ui/gfx/gdi_util.cc b/ui/gfx/gdi_util.cc
|
| index 88c09355a28fc8de7a600eaba6a3137c94e57b80..dc7d83f37cf64f843de3e06181defe1b7acc357a 100644
|
| --- a/ui/gfx/gdi_util.cc
|
| +++ b/ui/gfx/gdi_util.cc
|
| @@ -85,8 +85,8 @@ HRGN ConvertPathToHRGN(const gfx::Path& path) {
|
| path.getPoints(points.get(), point_count);
|
| scoped_ptr<POINT[]> windows_points(new POINT[point_count]);
|
| for (int i = 0; i < point_count; ++i) {
|
| - windows_points[i].x = SkScalarRound(points[i].fX);
|
| - windows_points[i].y = SkScalarRound(points[i].fY);
|
| + windows_points[i].x = SkScalarRoundToInt(points[i].fX);
|
| + windows_points[i].y = SkScalarRoundToInt(points[i].fY);
|
| }
|
|
|
| return ::CreatePolygonRgn(windows_points.get(), point_count, ALTERNATE);
|
|
|