Fix crash when RemoteFrame is swapped with a LocalFrame.
Fix crash when RemoteFrame is swapped with a LocalFrame.

This crash happens when going from a RemoteFrame to a LocalFrame, and happens because we create a provisional local frame, which has its parent set to the same parent as the original RemoteFrame, but is not part of the parent's frame tree.

BUG=433012

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

git-svn-id: bf5cd6ccde378db821296732a091cfbcf5285fbd@188063 bbb929c8-8fbe-4397-9dbb-9b2b20218538

axinging/chromium-crosswalk,axinging/chromium-crosswalk,axinging/chromium-crosswalk,axinging/chromium-crosswalk,axinging/chromium-crosswalk,axinging/chromium-crosswalk,axinging/chromium-crosswalk,axinging/chromium-crosswalk,axinging/chromium-crosswalk,axinging/chromium-crosswalk,axinging/chromium-crosswalk