| Index: ui/gfx/geometry/point.cc
|
| diff --git a/ui/gfx/geometry/point.cc b/ui/gfx/geometry/point.cc
|
| index 2248a4dbe7e654dd109b6e2b4ccf829beba88457..4eeb216a371b0fcdd3e84bfe05584141cea8d1bf 100644
|
| --- a/ui/gfx/geometry/point.cc
|
| +++ b/ui/gfx/geometry/point.cc
|
| @@ -4,38 +4,10 @@
|
|
|
| #include "ui/gfx/geometry/point.h"
|
|
|
| -#if defined(OS_WIN)
|
| -#include <windows.h>
|
| -#endif
|
| -
|
| #include "base/strings/stringprintf.h"
|
|
|
| namespace gfx {
|
|
|
| -#if defined(OS_WIN)
|
| -Point::Point(DWORD point) {
|
| - POINTS points = MAKEPOINTS(point);
|
| - x_ = points.x;
|
| - y_ = points.y;
|
| -}
|
| -
|
| -Point::Point(const POINT& point) : x_(point.x), y_(point.y) {
|
| -}
|
| -
|
| -Point& Point::operator=(const POINT& point) {
|
| - x_ = point.x;
|
| - y_ = point.y;
|
| - return *this;
|
| -}
|
| -
|
| -POINT Point::ToPOINT() const {
|
| - POINT p;
|
| - p.x = x();
|
| - p.y = y();
|
| - return p;
|
| -}
|
| -#endif
|
| -
|
| void Point::SetToMin(const Point& other) {
|
| x_ = x_ <= other.x_ ? x_ : other.x_;
|
| y_ = y_ <= other.y_ ? y_ : other.y_;
|
|
|