Chromium Code Reviews| Index: ui/gfx/geometry/point.h |
| diff --git a/ui/gfx/geometry/point.h b/ui/gfx/geometry/point.h |
| index 63ee922ede985e41cad78dfafc4aeb3b5721c0ce..bedfb5c979c64ddae89cb41e0c75897188a00336 100644 |
| --- a/ui/gfx/geometry/point.h |
| +++ b/ui/gfx/geometry/point.h |
| @@ -90,7 +90,7 @@ class GFX_EXPORT Point { |
| } |
| operator PointF() const { |
| - return PointF(x(), y()); |
| + return PointF(static_cast<float>(x()), static_cast<float>(y())); |
| } |
| // Returns a string representation of point. |