| Index: third_party/WebKit/Source/platform/geometry/LayoutPoint.h
|
| diff --git a/third_party/WebKit/Source/platform/geometry/LayoutPoint.h b/third_party/WebKit/Source/platform/geometry/LayoutPoint.h
|
| index 8d92d9202a0910780fd14cc0cab5ed54da3102c7..e0fe8d379666343b0f3714217956c1fa39bf8219 100644
|
| --- a/third_party/WebKit/Source/platform/geometry/LayoutPoint.h
|
| +++ b/third_party/WebKit/Source/platform/geometry/LayoutPoint.h
|
| @@ -46,6 +46,7 @@ class LayoutPoint {
|
| public:
|
| LayoutPoint() { }
|
| LayoutPoint(LayoutUnit x, LayoutUnit y) : m_x(x), m_y(y) { }
|
| + LayoutPoint(int x, int y) : m_x(LayoutUnit(x)), m_y(LayoutUnit(y)) { }
|
| LayoutPoint(const IntPoint& point) : m_x(point.x()), m_y(point.y()) { }
|
| explicit LayoutPoint(const FloatPoint& point) : m_x(point.x()), m_y(point.y()) { }
|
| explicit LayoutPoint(const DoublePoint& point) : m_x(point.x()), m_y(point.y()) { }
|
|
|