Index: content/browser/web_contents/web_contents_impl.cc |
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc |
index 6749aafe832138b29352a637eb1107f508b56817..10048087dee885c5f3fbcb1a033559db5a178ddc 100644 |
--- a/content/browser/web_contents/web_contents_impl.cc |
+++ b/content/browser/web_contents/web_contents_impl.cc |
@@ -2785,13 +2785,13 @@ void WebContentsImpl::SelectAll() { |
RecordAction(base::UserMetricsAction("SelectAll")); |
} |
-void WebContentsImpl::Unselect() { |
+void WebContentsImpl::CollapseSelection() { |
RenderFrameHost* focused_frame = GetFocusedFrame(); |
if (!focused_frame) |
return; |
- focused_frame->Send(new InputMsg_Unselect(focused_frame->GetRoutingID())); |
- RecordAction(base::UserMetricsAction("Unselect")); |
+ focused_frame->Send( |
+ new InputMsg_CollapseSelection(focused_frame->GetRoutingID())); |
} |
void WebContentsImpl::Replace(const base::string16& word) { |