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

Unified Diff: content/browser/web_contents/render_view_host_manager.cc

Issue 12301013: Ensure extensions and the Chrome Web Store are loaded in new BrowsingInstances. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix review comments. Created 7 years, 10 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/web_contents/render_view_host_manager.cc
diff --git a/content/browser/web_contents/render_view_host_manager.cc b/content/browser/web_contents/render_view_host_manager.cc
index 2abf1ff716fb7fd0ff8ca462cb985c8b9558b4ce..4971206f292c4f3123c8fd4a8951c7c25dc2c457 100644
--- a/content/browser/web_contents/render_view_host_manager.cc
+++ b/content/browser/web_contents/render_view_host_manager.cc
@@ -431,7 +431,9 @@ bool RenderViewHostManager::ShouldSwapProcessesForNavigation(
}
if (GetContentClient()->browser()->ShouldSwapProcessesForNavigation(
- curr_entry ? curr_entry->GetURL() : GURL(), new_entry->GetURL())) {
+ render_view_host_->GetSiteInstance(),
+ curr_entry ? curr_entry->GetURL() : GURL(),
+ new_entry->GetURL())) {
return true;
}
« no previous file with comments | « content/browser/devtools/devtools_manager_unittest.cc ('k') | content/public/browser/content_browser_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698