Index: ui/gfx/geometry/rect.h |
diff --git a/ui/gfx/geometry/rect.h b/ui/gfx/geometry/rect.h |
index 4ce85a0cfef9a25bbba39d9cb840d076a5f2eab4..9e0508d59eb8b6f009a8b35378df8a7df9b7149a 100644 |
--- a/ui/gfx/geometry/rect.h |
+++ b/ui/gfx/geometry/rect.h |
@@ -18,7 +18,6 @@ |
#include "base/numerics/safe_conversions.h" |
#include "ui/gfx/geometry/point.h" |
-#include "ui/gfx/geometry/rect_f.h" |
#include "ui/gfx/geometry/size.h" |
#include "ui/gfx/geometry/vector2d.h" |
@@ -57,11 +56,6 @@ class GFX_EXPORT Rect { |
CGRect ToCGRect() const; |
#endif |
- operator RectF() const { |
- return RectF(static_cast<float>(x()), static_cast<float>(y()), |
- static_cast<float>(width()), static_cast<float>(height())); |
- } |
- |
int x() const { return origin_.x(); } |
void set_x(int x) { origin_.set_x(x); } |