Index: Source/modules/accessibility/AXObject.cpp |
diff --git a/Source/modules/accessibility/AXObject.cpp b/Source/modules/accessibility/AXObject.cpp |
index b90b59f053018744656e2be17d1e83da8a5a019f..f644ac689ab72c3fb7d09ea04fb62e2a52d910a1 100644 |
--- a/Source/modules/accessibility/AXObject.cpp |
+++ b/Source/modules/accessibility/AXObject.cpp |
@@ -911,14 +911,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)) |
@@ -985,19 +977,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(); |