Disallow lazy assignment of RenderWidgetHostImpl routing IDs.
Currently, when RenderFrameHosts need a RenderWidgetHost, the RWH is
lazily assigned a routing ID and surface ID. Unfortunately, this does
not work when binding a RenderWidgetHost to the main RenderFrameHost:
certain initialization paths require that the routing ID / surface be
pre-allocated, in order to service a sync IPC.
Rather than creating two distinct paths for binding a RenderWidgetHost
to a RenderFrameHost, just require all initialization paths to
pre-allocate the routing ID and surface.
BUG=419087
Review URL: https://codereview.chromium.org/1309233006
Cr-Commit-Position: refs/heads/master@{#346477}
44 files changed