diff options
Diffstat (limited to 'src/3rdparty/webkit/WebCore/platform/graphics/IntPoint.h')
-rw-r--r-- | src/3rdparty/webkit/WebCore/platform/graphics/IntPoint.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/3rdparty/webkit/WebCore/platform/graphics/IntPoint.h b/src/3rdparty/webkit/WebCore/platform/graphics/IntPoint.h index 1cae19138e..21af67b0a2 100644 --- a/src/3rdparty/webkit/WebCore/platform/graphics/IntPoint.h +++ b/src/3rdparty/webkit/WebCore/platform/graphics/IntPoint.h @@ -80,6 +80,7 @@ public: void setX(int x) { m_x = x; } void setY(int y) { m_y = y; } + void move(const IntSize& s) { move(s.width(), s.height()); } void move(int dx, int dy) { m_x += dx; m_y += dy; } IntPoint expandedTo(const IntPoint& other) const |