| Index: third_party/WebKit/Source/modules/accessibility/AXObjectImpl.cpp
|
| diff --git a/third_party/WebKit/Source/modules/accessibility/AXObjectImpl.cpp b/third_party/WebKit/Source/modules/accessibility/AXObjectImpl.cpp
|
| index 3ad283b756eee3dc8687f0dfd1e18f35a5e634c4..ce0cfd7dcc61f7d9f21f2c835483220f2c002b3a 100644
|
| --- a/third_party/WebKit/Source/modules/accessibility/AXObjectImpl.cpp
|
| +++ b/third_party/WebKit/Source/modules/accessibility/AXObjectImpl.cpp
|
| @@ -827,11 +827,7 @@ bool AXObjectImpl::IsPresentationalChild() const {
|
| }
|
|
|
| bool AXObjectImpl::CanReceiveAccessibilityFocus() const {
|
| - const Node* node = this->GetNode();
|
| - if (!node)
|
| - return false;
|
| -
|
| - const Element* elem = ToElement(node);
|
| + const Element* elem = GetElement();
|
| if (!elem)
|
| return false;
|
|
|
|
|