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 5aaa287b9f6335f975cb79aa1a0d201bc3452dac..90798945bcb725c3c9bb3f8528c320be6afaf2b7 100644 |
--- a/third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp |
+++ b/third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp |
@@ -2211,7 +2211,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; |