• alexmos's avatar
    OOPIF: Don't resurrect a dead process just to create proxies. · a3988993
    alexmos authored
    This fixes another cause of crashing without a valid parent proxy in
    RenderFrameProxy::CreateFrameProxy.  This occurred when a renderer
    crashed, and another renderer added a child frame, which triggered a
    new proxy for that frame to be created for the crashed process.  The
    crashed process was recreated just to create the proxy, and the proxy
    creation crashed because its parent proxy didn't exist.
    
    This CL fixes InitRenderFrameProxy to not recreate a process just to
    create proxies.  The process should only come back if it ever needs to
    host a RenderFrame, and all the proxies should already be created
    then.
    
    BUG=476846
    
    Review URL: https://codereview.chromium.org/1138413002
    
    Cr-Commit-Position: refs/heads/master@{#329972}
    a3988993
render_frame_host_manager.cc 88 KB