| Index: third_party/WebKit/Source/platform/geometry/LayoutRect.h
|
| diff --git a/third_party/WebKit/Source/platform/geometry/LayoutRect.h b/third_party/WebKit/Source/platform/geometry/LayoutRect.h
|
| index c82730ded045328604f869710bde7eaad5127aad..566ff1906dd498556bac8337f0fc56739f6100a7 100644
|
| --- a/third_party/WebKit/Source/platform/geometry/LayoutRect.h
|
| +++ b/third_party/WebKit/Source/platform/geometry/LayoutRect.h
|
| @@ -93,8 +93,9 @@ public:
|
| LayoutPoint center() const { return LayoutPoint(x() + width() / 2, y() + height() / 2); }
|
|
|
| void move(const LayoutSize& size) { m_location += size; }
|
| - void move(const IntSize& size) { m_location.move(size.width(), size.height()); }
|
| + void move(const IntSize& size) { m_location.move(LayoutUnit(size.width()), LayoutUnit(size.height())); }
|
| void moveBy(const LayoutPoint& offset) { m_location.move(offset.x(), offset.y()); }
|
| + void moveBy(const IntPoint& offset) { m_location.move(LayoutUnit(offset.x()), LayoutUnit(offset.y())); }
|
| void move(LayoutUnit dx, LayoutUnit dy) { m_location.move(dx, dy); }
|
|
|
| void expand(const LayoutSize& size) { m_size += size; }
|
|
|