Index: third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp |
diff --git a/third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp b/third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp |
index 02d3e1a27524aa6a4b910eacb3c805f9c73f7de0..b77dd508614dcbc98de520966c6fab8c65c4d701 100644 |
--- a/third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp |
+++ b/third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp |
@@ -2214,7 +2214,7 @@ bool AXLayoutObject::isTabItemSelected() const |
// The ARIA spec says a tab item can also be selected if it is aria-labeled by a tabpanel |
// that has keyboard focus inside of it, or if a tabpanel in its aria-controls list has KB |
// focus inside of it. |
- AXObject* focusedElement = focusedUIElement(); |
+ AXObject* focusedElement = axObjectCache().focusedObject(); |
if (!focusedElement) |
return false; |