| Index: third_party/WebKit/Source/web/mac/WebSubstringUtil.mm
|
| diff --git a/third_party/WebKit/Source/web/mac/WebSubstringUtil.mm b/third_party/WebKit/Source/web/mac/WebSubstringUtil.mm
|
| index 49a82e5e9a5c4b22f3049f3b22db6f53d15cfc66..5ac0b48c277fac470539948a12a26e8f60c9c7bb 100644
|
| --- a/third_party/WebKit/Source/web/mac/WebSubstringUtil.mm
|
| +++ b/third_party/WebKit/Source/web/mac/WebSubstringUtil.mm
|
| @@ -149,7 +149,7 @@ NSAttributedString* WebSubstringUtil::attributedWordAtPoint(WebFrameWidget* fram
|
| return nil;
|
|
|
| // Expand to word under point.
|
| - VisibleSelection selection(range);
|
| + VisibleSelection selection = createVisibleSelectionDeprecated(range);
|
| selection.expandUsingGranularity(WordGranularity);
|
| const EphemeralRange wordRange = selection.toNormalizedEphemeralRange();
|
|
|
|
|