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 571bf33c2943f76939b8a24702f24bcb557ebb28..825d26e1bbf583e1a1c9d1cde1bb6a058875c2ce 100644 |
--- a/content/browser/frame_host/render_frame_host_manager.cc |
+++ b/content/browser/frame_host/render_frame_host_manager.cc |
@@ -1446,8 +1446,6 @@ bool RenderFrameHostManager::IsRendererTransferNeededForNavigation( |
} |
BrowserContext* context = rfh->GetSiteInstance()->GetBrowserContext(); |
- GURL effective_url = SiteInstanceImpl::GetEffectiveURL(context, dest_url); |
- |
// TODO(nasko, nick): These following --site-per-process checks are |
// overly simplistic. Update them to match all the cases |
// considered by DetermineSiteInstanceForURL. |
@@ -1461,7 +1459,7 @@ bool RenderFrameHostManager::IsRendererTransferNeededForNavigation( |
// then a transfer is needed. |
if (rfh->GetSiteInstance()->RequiresDedicatedProcess() || |
SiteInstanceImpl::DoesSiteRequireDedicatedProcess(context, |
- effective_url)) { |
+ dest_url)) { |
return true; |
} |