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 a5891146486b4618991cd2593c788072d41ab9b2..5adc3f5c15742d8b6936d8aaf003c5ff58cb0055 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()) |
Charlie Reis
2014/11/13 18:00:57
Style: This needs braces if the body doesn't fit o
alexmos
2014/11/18 18:25:32
Done.
|
- Send(new FrameMsg_SwapOut(routing_id_, proxy_routing_id)); |
+ Send(new FrameMsg_SwapOut(routing_id_, |
+ proxy_routing_id, |
+ replication_state)); |
if (!GetParent()) |
delegate_->SwappedOut(this); |