| Index: third_party/WebKit/Source/modules/accessibility/AXObject.cpp
|
| diff --git a/third_party/WebKit/Source/modules/accessibility/AXObject.cpp b/third_party/WebKit/Source/modules/accessibility/AXObject.cpp
|
| index 98e2ce46e7f90d29b7791d00d1437335b6133c35..692d1cefe1c12efa9be8715c6d2edc2b1d181bfa 100644
|
| --- a/third_party/WebKit/Source/modules/accessibility/AXObject.cpp
|
| +++ b/third_party/WebKit/Source/modules/accessibility/AXObject.cpp
|
| @@ -914,14 +914,6 @@ IntRect AXObject::boundingBoxForQuads(LayoutObject* obj, const Vector<FloatQuad>
|
|
|
| AXObject* AXObject::elementAccessibilityHitTest(const IntPoint& point) const
|
| {
|
| - // Send the hit test back into the sub-frame if necessary.
|
| - if (isAttachment()) {
|
| - Widget* widget = widgetForAttachmentView();
|
| - // Normalize the point for the widget's bounds.
|
| - if (widget && widget->isFrameView())
|
| - return axObjectCache().getOrCreate(widget)->accessibilityHitTest(IntPoint(point - widget->frameRect().location()));
|
| - }
|
| -
|
| // Check if there are any mock elements that need to be handled.
|
| for (const auto& child : m_children) {
|
| if (child->isMockObject() && child->elementRect().contains(point))
|
| @@ -988,19 +980,6 @@ void AXObject::clearChildren()
|
| m_haveChildren = false;
|
| }
|
|
|
| -AXObject* AXObject::focusedUIElement() const
|
| -{
|
| - Document* doc = document();
|
| - if (!doc)
|
| - return 0;
|
| -
|
| - Page* page = doc->page();
|
| - if (!page)
|
| - return 0;
|
| -
|
| - return axObjectCache().focusedUIElementForPage(page);
|
| -}
|
| -
|
| Document* AXObject::document() const
|
| {
|
| FrameView* frameView = documentFrameView();
|
|
|