| Index: ui/gfx/geometry/size.h
|
| diff --git a/ui/gfx/geometry/size.h b/ui/gfx/geometry/size.h
|
| index 7f2a9037a498ff8a2244c526a14bddd0f6cd380f..74857c521e27d18c5ea61f57798958f4a46f1309 100644
|
| --- a/ui/gfx/geometry/size.h
|
| +++ b/ui/gfx/geometry/size.h
|
| @@ -67,7 +67,7 @@ class GFX_EXPORT Size {
|
| bool IsEmpty() const { return !width() || !height(); }
|
|
|
| operator SizeF() const {
|
| - return SizeF(width(), height());
|
| + return SizeF(static_cast<float>(width()), static_cast<float>(height()));
|
| }
|
|
|
| std::string ToString() const;
|
|
|