OSDN Git Service

Merge WebKit at r78450: Initial merge by git.
[android-x86/external-webkit.git] / Source / WebCore / dom / ClientRect.h
index f9acef0..f739497 100644 (file)
@@ -42,8 +42,8 @@ namespace WebCore {
         static PassRefPtr<ClientRect> create(const FloatRect& rect) { return adoptRef(new ClientRect(rect)); }
 
         float top() const { return m_rect.y(); }
-        float right() const { return m_rect.right(); }
-        float bottom() const { return m_rect.bottom(); }
+        float right() const { return m_rect.maxX(); }
+        float bottom() const { return m_rect.maxY(); }
         float left() const { return m_rect.x(); }
         float width() const { return m_rect.width(); }
         float height() const { return m_rect.height(); }