| Index: content/browser/renderer_host/render_view_host_impl.cc
|
| diff --git a/content/browser/renderer_host/render_view_host_impl.cc b/content/browser/renderer_host/render_view_host_impl.cc
|
| index 8fd67698e877254e071bf0c741f55eef038cc2af..4fa8d4c07797983d10dfb61b64c2213f56c6f1ca 100644
|
| --- a/content/browser/renderer_host/render_view_host_impl.cc
|
| +++ b/content/browser/renderer_host/render_view_host_impl.cc
|
| @@ -576,21 +576,6 @@ void RenderViewHostImpl::SuppressDialogsUntilSwapOut() {
|
| Send(new ViewMsg_SuppressDialogsUntilSwapOut(GetRoutingID()));
|
| }
|
|
|
| -void RenderViewHostImpl::SwapOut() {
|
| - SetState(STATE_WAITING_FOR_UNLOAD_ACK);
|
| - unload_event_monitor_timeout_->Start(
|
| - base::TimeDelta::FromMilliseconds(kUnloadTimeoutMS));
|
| -
|
| - if (IsRenderViewLive()) {
|
| - Send(new ViewMsg_SwapOut(GetRoutingID()));
|
| - }
|
| - delegate_->SwappedOut(this);
|
| -}
|
| -
|
| -void RenderViewHostImpl::OnSwapOutACK() {
|
| - OnSwappedOut(false);
|
| -}
|
| -
|
| void RenderViewHostImpl::OnSwappedOut(bool timed_out) {
|
| // Ignore spurious swap out ack.
|
| if (!IsWaitingForUnloadACK())
|
| @@ -1121,7 +1106,6 @@ bool RenderViewHostImpl::OnMessageReceived(const IPC::Message& msg) {
|
| IPC_MESSAGE_HANDLER(ViewHostMsg_FocusedNodeChanged, OnFocusedNodeChanged)
|
| IPC_MESSAGE_HANDLER(ViewHostMsg_AddMessageToConsole, OnAddMessageToConsole)
|
| IPC_MESSAGE_HANDLER(ViewHostMsg_ClosePage_ACK, OnClosePageACK)
|
| - IPC_MESSAGE_HANDLER(ViewHostMsg_SwapOut_ACK, OnSwapOutACK)
|
| #if defined(OS_ANDROID)
|
| IPC_MESSAGE_HANDLER(ViewHostMsg_SelectionRootBoundsChanged,
|
| OnSelectionRootBoundsChanged)
|
|
|