Index: Source/web/mac/WebSubstringUtil.mm |
diff --git a/Source/web/mac/WebSubstringUtil.mm b/Source/web/mac/WebSubstringUtil.mm |
index cc50e3387aa4351c73b33d8997a43718539b99cf..65b3c05c2b56e01b28490e414ba6550c531c5dd3 100644 |
--- a/Source/web/mac/WebSubstringUtil.mm |
+++ b/Source/web/mac/WebSubstringUtil.mm |
@@ -114,9 +114,9 @@ namespace blink { |
NSAttributedString* WebSubstringUtil::attributedWordAtPoint(WebView* view, WebPoint point, WebPoint& baselinePoint) |
{ |
HitTestResult result = static_cast<WebViewImpl*>(view)->coreHitTestResultAt(point); |
- if (!result.targetNode()) |
+ if (!result.innerNode()) |
return nil; |
- LocalFrame* frame = result.targetNode()->document().frame(); |
+ LocalFrame* frame = result.innerNode()->document().frame(); |
FrameView* frameView = frame->view(); |
RefPtrWillBeRawPtr<Range> range = frame->rangeForPoint(result.roundedPointInInnerNodeFrame()); |