| Index: third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.cpp
|
| diff --git a/third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.cpp b/third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.cpp
|
| index efc395d5be6f97e2746000332fbf7d235d760db8..25d125f70596afc0f8911d5973881d2758e8fe4d 100644
|
| --- a/third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.cpp
|
| +++ b/third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.cpp
|
| @@ -762,7 +762,7 @@ void AXObjectCacheImpl::updateAriaOwns(const AXObject* owner, const Vector<Strin
|
| //
|
|
|
| // Figure out the children that are owned by this object and are in the tree.
|
| - TreeScope& scope = owner->getNode()->treeScope();
|
| + TreeScope& scope = owner->getNode()->treeScopeOrDocument();
|
| Vector<AXID> newChildAXIDs;
|
| for (const String& idName : idVector) {
|
| Element* element = scope.getElementById(AtomicString(idName));
|
|
|