Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(349)

Unified Diff: third_party/WebKit/Source/web/mac/WebSubstringUtil.mm

Issue 2385623002: Prune CreateVisibleSelectionDeprecated from web (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/web/WebViewImpl.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 5ac0b48c277fac470539948a12a26e8f60c9c7bb..4a295561af188575666d60b290b1d481a290338d 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 = createVisibleSelectionDeprecated(range);
+ VisibleSelection selection = createVisibleSelection(range);
selection.expandUsingGranularity(WordGranularity);
const EphemeralRange wordRange = selection.toNormalizedEphemeralRange();
« no previous file with comments | « third_party/WebKit/Source/web/WebViewImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698