Swap the main frame in --site-per-process mode too.
commit9463868c8a2d30b6a81db9fd2b61e8a5935ac347
authordcheng <dcheng@chromium.org>
Fri, 8 May 2015 19:30:20 +0000 (8 12:30 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 8 May 2015 19:31:41 +0000 (8 19:31 +0000)
tree617121fd09e80c4d574abbd5315d562389bcb0fd
parenta98ac8d7b972c2ca598391e550bef58e2d537684
Swap the main frame in --site-per-process mode too.

Calling swap() is required to set up a lot of required state in Blink
for the WebRemoteFrame. Without this, bad things happen.

BUG=475003

Review URL: https://codereview.chromium.org/1106673002

Cr-Commit-Position: refs/heads/master@{#329012}
content/browser/site_per_process_browsertest.cc
content/renderer/render_frame_impl.cc