| 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 31a488641f1fc3905f7ea22f9a93a26f310fa074..f1db5b255372bd7137ed4d44cf5dbd599359afc1 100644
|
| --- a/content/browser/frame_host/interstitial_page_impl.cc
|
| +++ b/content/browser/frame_host/interstitial_page_impl.cc
|
| @@ -431,8 +431,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"));
|
| }
|
|
|
| @@ -441,8 +440,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"));
|
| }
|
|
|
| @@ -451,8 +449,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"));
|
| }
|
|
|
| @@ -461,8 +458,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"));
|
| }
|
|
|
|
|