| Index: Source/core/frame/LocalFrame.cpp
|
| diff --git a/Source/core/frame/LocalFrame.cpp b/Source/core/frame/LocalFrame.cpp
|
| index adfa8ad6ddaa9f1f29dc00c7fc6da1c1ea667bcf..2702f94ee7f842f6c06104b77e1301984bc2f36b 100644
|
| --- a/Source/core/frame/LocalFrame.cpp
|
| +++ b/Source/core/frame/LocalFrame.cpp
|
| @@ -304,7 +304,7 @@ Document* LocalFrame::documentAtPoint(const IntPoint& point)
|
| return result.innerNode() ? &result.innerNode()->document() : 0;
|
| }
|
|
|
| -PassRefPtr<Range> LocalFrame::rangeForPoint(const IntPoint& framePoint)
|
| +PassRefPtrWillBeRawPtr<Range> LocalFrame::rangeForPoint(const IntPoint& framePoint)
|
| {
|
| VisiblePosition position = visiblePositionForPoint(framePoint);
|
| if (position.isNull())
|
| @@ -312,14 +312,14 @@ PassRefPtr<Range> LocalFrame::rangeForPoint(const IntPoint& framePoint)
|
|
|
| VisiblePosition previous = position.previous();
|
| if (previous.isNotNull()) {
|
| - RefPtr<Range> previousCharacterRange = makeRange(previous, position);
|
| + RefPtrWillBeRawPtr<Range> previousCharacterRange = makeRange(previous, position);
|
| LayoutRect rect = editor().firstRectForRange(previousCharacterRange.get());
|
| if (rect.contains(framePoint))
|
| return previousCharacterRange.release();
|
| }
|
|
|
| VisiblePosition next = position.next();
|
| - if (RefPtr<Range> nextCharacterRange = makeRange(position, next)) {
|
| + if (RefPtrWillBeRawPtr<Range> nextCharacterRange = makeRange(position, next)) {
|
| LayoutRect rect = editor().firstRectForRange(nextCharacterRange.get());
|
| if (rect.contains(framePoint))
|
| return nextCharacterRange.release();
|
|
|