Fix WebContentsDelegate::ShouldCreateWebContents implementations.
The problem was that |route_id| is scoped to a particular child process,
but the process was not being plumbed in correctly, resulting in a
situation where we would create (1) a RenderFrameHost with a routing ID
that might later be reused, and also, (2) a RenderFrameHost with a
plumbed-in routing ID, but no corresponding extant RenderFrame in the
child process.
The solution involves plumbing in the actual SiteInstance, and only
using |route_id| if we don't change to a different SiteInstance.
BUG=
627852
TBR=brettw@chromium.org
Committed:
https://crrev.com/f5e618c7175237cd27bfb6e94fd4fa066367e36a
Cr-Commit-Position: refs/heads/master@{#434743}