| Index: ui/gfx/size_f.cc
|
| diff --git a/ui/gfx/size_f.cc b/ui/gfx/size_f.cc
|
| index 862c9921220ea5461d52a232d5e661f5151e9125..96c186788e4ad23092b8078aff415270e74bc8c7 100644
|
| --- a/ui/gfx/size_f.cc
|
| +++ b/ui/gfx/size_f.cc
|
| @@ -4,11 +4,8 @@
|
|
|
| #include "ui/gfx/size_f.h"
|
|
|
| -#include <cmath>
|
| -
|
| #include "base/logging.h"
|
| #include "base/stringprintf.h"
|
| -#include "ui/gfx/size.h"
|
|
|
| namespace gfx {
|
|
|
| @@ -23,11 +20,6 @@ SizeF::SizeF(float width, float height) : SizeBase<SizeF, float>(0, 0) {
|
|
|
| SizeF::~SizeF() {}
|
|
|
| -Size SizeF::ToSize() const {
|
| - return Size(static_cast<int>(std::floor(width())),
|
| - static_cast<int>(std::floor(height())));
|
| -}
|
| -
|
| std::string SizeF::ToString() const {
|
| return base::StringPrintf("%fx%f", width(), height());
|
| }
|
|
|