Revert of Swap the main frame in --site-per-process mode too. (patchset #5 id:80001...
commit42cda648aa14bf008ce1b788559e81c87cb8d5bc
authordcheng <dcheng@chromium.org>
Fri, 8 May 2015 22:40:26 +0000 (8 15:40 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 8 May 2015 22:40:57 +0000 (8 22:40 +0000)
tree033c50079c0c284788cfce74eab86f6b0e0fa62a
parent8a94811ea7599ac31bff5b99ccf353aeb76b67c4
Revert of Swap the main frame in --site-per-process mode too. (patchset #5 id:80001 of https://codereview.chromium.org/1106673002/)

Reason for revert:
This breaks some tests on the site isolation bots.

Original issue's description:
> 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
>
> Committed: https://crrev.com/9463868c8a2d30b6a81db9fd2b61e8a5935ac347
> Cr-Commit-Position: refs/heads/master@{#329012}

TBR=creis@chromium.org,nasko@chromium.org,alexmos@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=475003

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

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