| Index: third_party/WebKit/Source/web/WebAXObject.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebAXObject.cpp b/third_party/WebKit/Source/web/WebAXObject.cpp
|
| index 7fdc92f3a00b8f42ef233d1381c78fccc292d229..febaa1ba24bc446bdb43479ca19a0b7d8fb8e404 100644
|
| --- a/third_party/WebKit/Source/web/WebAXObject.cpp
|
| +++ b/third_party/WebKit/Source/web/WebAXObject.cpp
|
| @@ -654,18 +654,6 @@ bool WebAXObject::ariaOwns(WebVector<WebAXObject>& ownsElements) const
|
| return false;
|
| }
|
|
|
| -WebRect WebAXObject::boundingBoxRect() const
|
| -{
|
| - if (isDetached())
|
| - return WebRect();
|
| -
|
| -#if DCHECK_IS_ON()
|
| - DCHECK(isLayoutClean(m_private->getDocument()));
|
| -#endif
|
| -
|
| - return pixelSnappedIntRect(m_private->elementRect());
|
| -}
|
| -
|
| WebString WebAXObject::fontFamily() const
|
| {
|
| if (isDetached())
|
| @@ -690,14 +678,6 @@ bool WebAXObject::canvasHasFallbackContent() const
|
| return m_private->canvasHasFallbackContent();
|
| }
|
|
|
| -WebPoint WebAXObject::clickPoint() const
|
| -{
|
| - if (isDetached())
|
| - return WebPoint();
|
| -
|
| - return WebPoint(m_private->clickPoint());
|
| -}
|
| -
|
| WebAXInvalidState WebAXObject::invalidState() const
|
| {
|
| if (isDetached())
|
| @@ -753,7 +733,7 @@ WebAXObject WebAXObject::hitTest(const WebPoint& point) const
|
| if (hit)
|
| return WebAXObject(hit);
|
|
|
| - if (m_private->elementRect().contains(contentsPoint))
|
| + if (m_private->getBoundsInFrameCoordinates().contains(contentsPoint))
|
| return *this;
|
|
|
| return WebAXObject();
|
| @@ -1588,14 +1568,6 @@ void WebAXObject::scrollToGlobalPoint(const WebPoint& point) const
|
| m_private->scrollToGlobalPoint(point);
|
| }
|
|
|
| -SkMatrix44 WebAXObject::transformFromLocalParentFrame() const
|
| -{
|
| - if (isDetached())
|
| - return SkMatrix44();
|
| -
|
| - return m_private->transformFromLocalParentFrame();
|
| -}
|
| -
|
| WebAXObject::WebAXObject(AXObject* object)
|
| : m_private(object)
|
| {
|
|
|