| Index: content/browser/frame_host/render_frame_host_impl.cc
|
| diff --git a/content/browser/frame_host/render_frame_host_impl.cc b/content/browser/frame_host/render_frame_host_impl.cc
|
| index b1b2eb400d02fcd5a9e24badf3656c56998cdefb..8252185b6477ef9f07105f096be879dc8691851c 100644
|
| --- a/content/browser/frame_host/render_frame_host_impl.cc
|
| +++ b/content/browser/frame_host/render_frame_host_impl.cc
|
| @@ -817,13 +817,17 @@ void RenderFrameHostImpl::SwapOut(RenderFrameProxyHost* proxy) {
|
|
|
| // There may be no proxy if there are no active views in the process.
|
| int proxy_routing_id = MSG_ROUTING_NONE;
|
| + FrameReplicationState replication_state;
|
| if (proxy) {
|
| set_render_frame_proxy_host(proxy);
|
| proxy_routing_id = proxy->GetRoutingID();
|
| + replication_state = proxy->frame_tree_node()->current_replication_state();
|
| }
|
|
|
| - if (IsRenderFrameLive())
|
| - Send(new FrameMsg_SwapOut(routing_id_, proxy_routing_id));
|
| + if (IsRenderFrameLive()) {
|
| + Send(new FrameMsg_SwapOut(routing_id_, proxy_routing_id,
|
| + replication_state));
|
| + }
|
|
|
| if (!GetParent())
|
| delegate_->SwappedOut(this);
|
|
|