| Index: Source/web/mac/WebSubstringUtil.mm
|
| diff --git a/Source/web/mac/WebSubstringUtil.mm b/Source/web/mac/WebSubstringUtil.mm
|
| index ade8fb13c58c6b0b68ad6c83d583049025b61f0b..654ac7675d89bea3a81fc347964930ad090b09c8 100644
|
| --- a/Source/web/mac/WebSubstringUtil.mm
|
| +++ b/Source/web/mac/WebSubstringUtil.mm
|
| @@ -55,6 +55,7 @@
|
| #include "public/web/WebRange.h"
|
| #include "public/web/WebView.h"
|
| #include "web/WebLocalFrameImpl.h"
|
| +#include "web/WebViewImpl.h"
|
|
|
| using namespace blink;
|
|
|
| @@ -112,7 +113,7 @@ namespace blink {
|
|
|
| NSAttributedString* WebSubstringUtil::attributedWordAtPoint(WebView* view, WebPoint point, WebPoint& baselinePoint)
|
| {
|
| - HitTestResult result = view->hitTestResultAt(point);
|
| + HitTestResult result = static_cast<WebViewImpl*>(view)->coreHitTestResultAt(point);
|
| if (!result.targetNode())
|
| return nil;
|
| LocalFrame* frame = result.targetNode()->document().frame();
|
|
|