| Index: Source/core/accessibility/AccessibilityRenderObject.cpp
|
| diff --git a/Source/core/accessibility/AccessibilityRenderObject.cpp b/Source/core/accessibility/AccessibilityRenderObject.cpp
|
| index 6a78d5c72d1de4d6122694edc119001d43feba40..56c6bec56a119248454b4a5ebb67abe25ca52ef9 100644
|
| --- a/Source/core/accessibility/AccessibilityRenderObject.cpp
|
| +++ b/Source/core/accessibility/AccessibilityRenderObject.cpp
|
| @@ -1620,8 +1620,8 @@ VisiblePositionRange AccessibilityRenderObject::visiblePositionRange() const
|
| if (!node)
|
| return VisiblePositionRange();
|
|
|
| - VisiblePosition startPos = firstPositionInOrBeforeNode(node.raw());
|
| - VisiblePosition endPos = lastPositionInOrAfterNode(node.raw());
|
| + VisiblePosition startPos = firstPositionInOrBeforeNode(node);
|
| + VisiblePosition endPos = lastPositionInOrAfterNode(node);
|
|
|
| // the VisiblePositions are equal for nodes like buttons, so adjust for that
|
| // FIXME: Really? [button, 0] and [button, 1] are distinct (before and after the button)
|
| @@ -1680,7 +1680,7 @@ VisiblePosition AccessibilityRenderObject::visiblePositionForIndex(int index) co
|
| return VisiblePosition();
|
|
|
| if (index <= 0)
|
| - return VisiblePosition(firstPositionInOrBeforeNode(node.raw()), DOWNSTREAM);
|
| + return VisiblePosition(firstPositionInOrBeforeNode(node), DOWNSTREAM);
|
|
|
| Handle<Range> range = Range::create(m_renderer->document());
|
| range->selectNodeContents(node, IGNORE_EXCEPTION);
|
|
|