| Index: ui/gfx/geometry/point.h
|
| diff --git a/ui/gfx/geometry/point.h b/ui/gfx/geometry/point.h
|
| index c7ac4ff108de94000c328667a709aa61b2514282..f18339b116a06e04c582f10d7c22ec35ed5ed433 100644
|
| --- a/ui/gfx/geometry/point.h
|
| +++ b/ui/gfx/geometry/point.h
|
| @@ -49,7 +49,7 @@ class GFX_EXPORT Point : public PointBase<Point, int, Vector2d> {
|
| #endif
|
|
|
| operator PointF() const {
|
| - return PointF(x(), y());
|
| + return PointF(static_cast<float>(x()), static_cast<float>(y()));
|
| }
|
|
|
| // Returns a string representation of point.
|
|
|