| Index: third_party/WebKit/Source/modules/accessibility/AXObject.cpp
|
| diff --git a/third_party/WebKit/Source/modules/accessibility/AXObject.cpp b/third_party/WebKit/Source/modules/accessibility/AXObject.cpp
|
| index 22fd608f99d827b9d8dcc04f64e63b7352097941..99671e948ec3b551255416fd277ec1df13b43618 100644
|
| --- a/third_party/WebKit/Source/modules/accessibility/AXObject.cpp
|
| +++ b/third_party/WebKit/Source/modules/accessibility/AXObject.cpp
|
| @@ -896,7 +896,7 @@ void AXObject::elementsFromAttribute(HeapVector<Member<Element>>& elements, cons
|
| if (ids.isEmpty())
|
| return;
|
|
|
| - TreeScope& scope = getNode()->treeScope();
|
| + TreeScope& scope = getNode()->treeScopeOrDocument();
|
| for (const auto& id : ids) {
|
| if (Element* idElement = scope.getElementById(AtomicString(id)))
|
| elements.append(idElement);
|
|
|