| 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 25c2a686736e20807710278f61da12646ff56662..abc30a137ba306c3b7dca054bef7e28d69c62d06 100644
|
| --- a/third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp
|
| +++ b/third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp
|
| @@ -1791,7 +1791,7 @@ AXObject::AXRange AXLayoutObject::selectionUnderObject() const {
|
| ->frame()
|
| ->selection()
|
| .computeVisibleSelectionInDOMTreeDeprecated();
|
| - Range* selectionRange = firstRangeOf(selection);
|
| + Range* selectionRange = createRange(firstEphemeralRangeOf(selection));
|
| ContainerNode* parentNode = getNode()->parentNode();
|
| int nodeIndex = getNode()->nodeIndex();
|
| if (!selectionRange
|
|
|