Index: content/browser/frame_host/interstitial_page_impl.cc |
diff --git a/content/browser/frame_host/interstitial_page_impl.cc b/content/browser/frame_host/interstitial_page_impl.cc |
index d890e64f44973d7163083f85db7c569be1b2f0f6..465086c739b551fb249e520f33be7a3aceb68384 100644 |
--- a/content/browser/frame_host/interstitial_page_impl.cc |
+++ b/content/browser/frame_host/interstitial_page_impl.cc |
@@ -438,8 +438,7 @@ void InterstitialPageImpl::Cut() { |
if (!focused_node) |
return; |
- focused_node->current_frame_host()->Send( |
- new InputMsg_Cut(focused_node->current_frame_host()->GetRoutingID())); |
+ focused_node->current_frame_host()->GetFrameInputHandler()->Cut(); |
RecordAction(base::UserMetricsAction("Cut")); |
} |
@@ -448,8 +447,7 @@ void InterstitialPageImpl::Copy() { |
if (!focused_node) |
return; |
- focused_node->current_frame_host()->Send( |
- new InputMsg_Copy(focused_node->current_frame_host()->GetRoutingID())); |
+ focused_node->current_frame_host()->GetFrameInputHandler()->Copy(); |
RecordAction(base::UserMetricsAction("Copy")); |
} |
@@ -458,8 +456,7 @@ void InterstitialPageImpl::Paste() { |
if (!focused_node) |
return; |
- focused_node->current_frame_host()->Send( |
- new InputMsg_Paste(focused_node->current_frame_host()->GetRoutingID())); |
+ focused_node->current_frame_host()->GetFrameInputHandler()->Paste(); |
RecordAction(base::UserMetricsAction("Paste")); |
} |
@@ -468,8 +465,7 @@ void InterstitialPageImpl::SelectAll() { |
if (!focused_node) |
return; |
- focused_node->current_frame_host()->Send(new InputMsg_SelectAll( |
- focused_node->current_frame_host()->GetRoutingID())); |
+ focused_node->current_frame_host()->GetFrameInputHandler()->SelectAll(); |
RecordAction(base::UserMetricsAction("SelectAll")); |
} |