| Index: Source/web/WebFrameImpl.cpp
|
| diff --git a/Source/web/WebFrameImpl.cpp b/Source/web/WebFrameImpl.cpp
|
| index 6cfb39d7ab9b68c61ccfe700216627a9f822023a..05aeeb77bab41411be8defa6d70162471c2228cf 100644
|
| --- a/Source/web/WebFrameImpl.cpp
|
| +++ b/Source/web/WebFrameImpl.cpp
|
| @@ -1126,13 +1126,13 @@ bool WebFrameImpl::firstRectForCharacterRange(unsigned location, unsigned length
|
| size_t WebFrameImpl::characterIndexForPoint(const WebPoint& webPoint) const
|
| {
|
| if (!frame())
|
| - return notFound;
|
| + return kNotFound;
|
|
|
| IntPoint point = frame()->view()->windowToContents(webPoint);
|
| HitTestResult result = frame()->eventHandler()->hitTestResultAtPoint(point, HitTestRequest::ReadOnly | HitTestRequest::Active | HitTestRequest::DisallowShadowContent);
|
| RefPtr<Range> range = frame()->rangeForPoint(result.roundedPointInInnerNodeFrame());
|
| if (!range)
|
| - return notFound;
|
| + return kNotFound;
|
|
|
| size_t location, length;
|
| TextIterator::getLocationAndLengthFromRange(frame()->selection().rootEditableElementOrDocumentElement(), range.get(), location, length);
|
|
|