Chromium Code Reviews| Index: content/browser/web_contents/web_contents_impl.cc |
| =================================================================== |
| --- content/browser/web_contents/web_contents_impl.cc (revision 243184) |
| +++ content/browser/web_contents/web_contents_impl.cc (working copy) |
| @@ -1368,6 +1368,11 @@ |
| params.target_url, |
| partition_id, |
| session_storage_namespace)) { |
| + if (!RenderViewHost::FromID(render_process_id, route_id)) { |
| + // If the embedder didn't create a WebContents for this route, we need to |
| + // delete the RenderView that had already been created. |
| + Send(new ViewMsg_Close(route_id)); |
|
jochen (gone - plz use gerrit)
2014/01/07 08:10:38
route_id might be MSG_ROUTING_NONE.
in that case,
jam
2014/01/07 19:37:32
Done.
|
| + } |
| GetRenderViewHost()->GetProcess()->ResumeRequestsForView(route_id); |
| GetRenderViewHost()->GetProcess()->ResumeRequestsForView( |
| main_frame_route_id); |