diff options
Diffstat (limited to 'WebCore/rendering/RenderBox.h')
-rw-r--r-- | WebCore/rendering/RenderBox.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/WebCore/rendering/RenderBox.h b/WebCore/rendering/RenderBox.h index 1c766aa..c033275 100644 --- a/WebCore/rendering/RenderBox.h +++ b/WebCore/rendering/RenderBox.h @@ -51,6 +51,7 @@ public: void setHeight(int height) { m_frameRect.setHeight(height); } IntPoint location() const { return m_frameRect.location(); } + IntSize locationOffset() const { return IntSize(x(), y()); } IntSize size() const { return m_frameRect.size(); } void setLocation(const IntPoint& location) { m_frameRect.setLocation(location); } |