| Index: ui/gfx/rect_f.cc
|
| diff --git a/ui/gfx/rect_f.cc b/ui/gfx/rect_f.cc
|
| index 6677c29e459df79ef09c51e1faba82fdc54ab1bf..c515731b5813c14f581518f2470a6ab6c3b5f711 100644
|
| --- a/ui/gfx/rect_f.cc
|
| +++ b/ui/gfx/rect_f.cc
|
| @@ -8,6 +8,7 @@
|
| #include "base/stringprintf.h"
|
| #include "ui/gfx/insets_f.h"
|
| #include "ui/gfx/rect_base_impl.h"
|
| +#include "ui/gfx/safe_floor_ceil.h"
|
|
|
| namespace gfx {
|
|
|
| @@ -36,10 +37,6 @@ RectF::RectF(const gfx::PointF& origin, const gfx::SizeF& size)
|
|
|
| RectF::~RectF() {}
|
|
|
| -Rect RectF::ToRect() const {
|
| - return Rect(origin().ToPoint(), size().ToSize());
|
| -}
|
| -
|
| std::string RectF::ToString() const {
|
| return base::StringPrintf("%s %s",
|
| origin().ToString().c_str(),
|
|
|