Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1757)

Unified Diff: content/browser/frame_host/render_frame_host_manager.cc

Issue 479403004: Re-enable SitePerProcessBrowserTest.CrossSiteIframe (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Disable the test on CrOS and Android. Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/frame_host/render_frame_host_manager.cc
diff --git a/content/browser/frame_host/render_frame_host_manager.cc b/content/browser/frame_host/render_frame_host_manager.cc
index 5e0872c30b7469b44c38154fefdba2631c72a852..986327751e78c559f7efbac1b789a3ca7490bf5a 100644
--- a/content/browser/frame_host/render_frame_host_manager.cc
+++ b/content/browser/frame_host/render_frame_host_manager.cc
@@ -245,13 +245,13 @@ RenderFrameHostImpl* RenderFrameHostManager::Navigate(
}
void RenderFrameHostManager::Stop() {
- render_frame_host_->render_view_host()->Stop();
+ render_frame_host_->Stop();
// If we are cross-navigating, we should stop the pending renderers. This
// will lead to a DidFailProvisionalLoad, which will properly destroy them.
if (cross_navigation_pending_) {
- pending_render_frame_host_->render_view_host()->Send(new ViewMsg_Stop(
- pending_render_frame_host_->render_view_host()->GetRoutingID()));
+ pending_render_frame_host_->Send(new FrameMsg_Stop(
+ pending_render_frame_host_->GetRoutingID()));
}
}
@@ -1482,9 +1482,8 @@ RenderFrameHostImpl* RenderFrameHostManager::UpdateStateForNavigate(
// Also make sure the old render view stops, in case a load is in
// progress. (We don't want to do this for transfers, since it will
// interrupt the transfer with an unexpected DidStopLoading.)
- render_frame_host_->render_view_host()->Send(new ViewMsg_Stop(
- render_frame_host_->render_view_host()->GetRoutingID()));
-
+ render_frame_host_->Send(new FrameMsg_Stop(
+ render_frame_host_->GetRoutingID()));
pending_render_frame_host_->SetNavigationsSuspended(true,
base::TimeTicks());
}
« no previous file with comments | « content/browser/frame_host/render_frame_host_impl.cc ('k') | content/browser/renderer_host/render_widget_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698