OOPIF: Fix race between creating a frame and detaching its parent in another process.
This fixes a race similar to those in issue 526304 and issue 568676.
Here, the race involve a parent detaching a child proxy just as that
proxy's real frame is adding a new child frame. The new child frame
triggers a proxy to be created for it in the parent's process, but if
that happens after detach, RenderFrameProxy::CreateFrameProxy would be
unable to resolve the passed in parent_routing_id and crash. This CL
fixes this to not create the (unnecessary) proxy in this case.
BUG=568670
Review URL: https://codereview.chromium.org/1532263002
Cr-Commit-Position: refs/heads/master@{#366043}
2 files changed