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 b0ddbdec789ba2c818087d9420daf51af597e76f..a6f7a4567da0a113b7945b2b8058d651d49377af 100644 |
--- a/content/browser/renderer_host/render_view_host_impl.cc |
+++ b/content/browser/renderer_host/render_view_host_impl.cc |
@@ -336,6 +336,13 @@ bool RenderViewHostImpl::CreateRenderView( |
return false; |
SetInitialRenderSizeParams(params.initial_size); |
+ // If the RWHV has not yet been set, the surface ID namespace will get |
+ // passed down by the call to SetView(). |
+ if (view_) { |
+ Send(new ViewMsg_SetSurfaceIdNamespace(GetRoutingID(), |
+ view_->GetSurfaceIdNamespace())); |
+ } |
+ |
// If it's enabled, tell the renderer to set up the Javascript bindings for |
// sending messages back to the browser. |
if (GetProcess()->IsIsolatedGuest()) |