| Index: content/browser/frame_host/navigator_impl.cc
|
| diff --git a/content/browser/frame_host/navigator_impl.cc b/content/browser/frame_host/navigator_impl.cc
|
| index f01dc531fca5073272ebf8e64a56d9a65e265bc1..4d74ff94065d23ec014113a1254da2fbeae55b98 100644
|
| --- a/content/browser/frame_host/navigator_impl.cc
|
| +++ b/content/browser/frame_host/navigator_impl.cc
|
| @@ -383,15 +383,6 @@ void NavigatorImpl::DidNavigate(
|
| RenderViewHostImpl* rvh = render_frame_host->render_view_host();
|
| bool use_site_per_process =
|
| CommandLine::ForCurrentProcess()->HasSwitch(switches::kSitePerProcess);
|
| - if (frame_tree->IsFirstNavigationAfterSwap()) {
|
| - // First navigation should be a main frame navigation.
|
| - // TODO(creis): This DCHECK is currently disabled for --site-per-process
|
| - // because cross-process subframe navigations still have a main frame
|
| - // PageTransition.
|
| - if (!use_site_per_process)
|
| - DCHECK(PageTransitionIsMainFrame(params.transition));
|
| - frame_tree->OnFirstNavigationAfterSwap(params.frame_id);
|
| - }
|
|
|
| // When using --site-per-process, look up the FrameTreeNode ID that the
|
| // renderer-specific frame ID corresponds to.
|
| @@ -474,7 +465,9 @@ void NavigatorImpl::DidNavigate(
|
| // For now, keep track of each frame's URL in its FrameTreeNode. This lets
|
| // us estimate our process count for implementing OOP iframes.
|
| // TODO(creis): Remove this when we track which pages commit in each frame.
|
| - frame_tree->SetFrameUrl(params.frame_id, params.url);
|
| + frame_tree->SetFrameUrl(params.frame_id,
|
| + render_frame_host->GetProcess()->GetID(),
|
| + params.url);
|
|
|
| // Send notification about committed provisional loads. This notification is
|
| // different from the NAV_ENTRY_COMMITTED notification which doesn't include
|
|
|