| Index: ui/gfx/geometry/size.cc
|
| diff --git a/ui/gfx/geometry/size.cc b/ui/gfx/geometry/size.cc
|
| index d916ebdadd3c94b2449060a10d7b36baf673d023..fc49a56cfe2f85a61167e8abaac2b7eff672431e 100644
|
| --- a/ui/gfx/geometry/size.cc
|
| +++ b/ui/gfx/geometry/size.cc
|
| @@ -4,31 +4,10 @@
|
|
|
| #include "ui/gfx/geometry/size.h"
|
|
|
| -#if defined(OS_WIN)
|
| -#include <windows.h>
|
| -#endif
|
| -
|
| #include "base/strings/stringprintf.h"
|
|
|
| namespace gfx {
|
|
|
| -#if defined(OS_WIN)
|
| -SIZE Size::ToSIZE() const {
|
| - SIZE s;
|
| - s.cx = width();
|
| - s.cy = height();
|
| - return s;
|
| -}
|
| -#endif
|
| -
|
| -#if defined(OS_MACOSX)
|
| -Size& Size::operator=(const CGSize& s) {
|
| - set_width(s.width);
|
| - set_height(s.height);
|
| - return *this;
|
| -}
|
| -#endif
|
| -
|
| int Size::GetArea() const {
|
| return width() * height();
|
| }
|
|
|