| Index: Source/modules/accessibility/AXLayoutObject.cpp
|
| diff --git a/Source/modules/accessibility/AXLayoutObject.cpp b/Source/modules/accessibility/AXLayoutObject.cpp
|
| index d83ea0a273641518dce732e6d3fa46df00d5161c..2d4976431777b4cb7ea0fd4af4c52b03afaaccf5 100644
|
| --- a/Source/modules/accessibility/AXLayoutObject.cpp
|
| +++ b/Source/modules/accessibility/AXLayoutObject.cpp
|
| @@ -1850,7 +1850,7 @@ AXObject::AXRange AXLayoutObject::selection() const
|
| return AXRange();
|
|
|
| VisibleSelection selection = layoutObject()->frame()->selection().selection();
|
| - RefPtrWillBeRawPtr<Range> selectionRange = selection.firstRange();
|
| + RefPtrWillBeRawPtr<Range> selectionRange = firstRangeOf(selection);
|
| if (!selectionRange)
|
| return AXRange();
|
|
|
| @@ -1911,7 +1911,7 @@ AXObject::AXRange AXLayoutObject::selectionUnderObject() const
|
| return AXRange();
|
|
|
| VisibleSelection selection = layoutObject()->frame()->selection().selection();
|
| - RefPtrWillBeRawPtr<Range> selectionRange = selection.firstRange();
|
| + RefPtrWillBeRawPtr<Range> selectionRange = firstRangeOf(selection);
|
| ContainerNode* parentNode = node()->parentNode();
|
| int nodeIndex = node()->nodeIndex();
|
| if (!selectionRange
|
|
|