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 8ac1b84791ba7bc6575baeed455879eb0c6f3c3f..908470aad20ba000aca216bae6df8b7907189115 100644 |
--- a/third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp |
+++ b/third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp |
@@ -2210,7 +2210,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; |