Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(486)

Unified Diff: third_party/WebKit/Source/modules/accessibility/AXObject.cpp

Issue 1705853002: NOT FOR REVIEW. ax tree focus with debugging (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed crash Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 76188bf7a4c77d483c333dc0d67b11c41abd09bf..2cf10aa73af8256182c4428d43172db0ff29b07a 100644
--- a/third_party/WebKit/Source/modules/accessibility/AXObject.cpp
+++ b/third_party/WebKit/Source/modules/accessibility/AXObject.cpp
@@ -1182,19 +1182,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();

Powered by Google App Engine
This is Rietveld 408576698