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

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

Issue 2322673005: Fix process transfers for blob urls of sites requiring dedicated processes. (Closed)
Patch Set: Fix documentation. Created 4 years, 3 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 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;
}

Powered by Google App Engine
This is Rietveld 408576698