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

Unified Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 1144253003: Remove --enable-strict-site-isolation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Set correct upstream Created 5 years, 6 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/renderer_host/render_process_host_impl.cc
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc
index 38cc0ab5e34c1b2dffb05e731995f0810394a9b7..b485102a6558f3df11718037d79215520afef441 100644
--- a/content/browser/renderer_host/render_process_host_impl.cc
+++ b/content/browser/renderer_host/render_process_host_impl.cc
@@ -1290,7 +1290,6 @@ void RenderProcessHostImpl::PropagateBrowserCommandLineToRenderer(
switches::kEnableSmoothScrolling,
switches::kEnableStaleWhileRevalidate,
switches::kEnableStatsTable,
- switches::kEnableStrictSiteIsolation,
switches::kEnableThreadedCompositing,
switches::kEnableTouchDragDrop,
switches::kEnableTouchEditing,
@@ -1939,16 +1938,14 @@ RenderProcessHost* RenderProcessHost::FromID(int render_process_id) {
// static
bool RenderProcessHost::ShouldTryToUseExistingProcessHost(
BrowserContext* browser_context, const GURL& url) {
- // Experimental:
- // If --enable-strict-site-isolation or --site-per-process is enabled, do not
- // try to reuse renderer processes when over the limit. (We could allow pages
- // from the same site to share, if we knew what the given process was
- // dedicated to. Allowing no sharing is simpler for now.) This may cause
- // resource exhaustion issues if too many sites are open at once.
+ // If --site-per-process is enabled, do not try to reuse renderer processes
+ // when over the limit. (We could allow pages from the same site to share, if
+ // we knew what the given process was dedicated to. Allowing no sharing is
+ // simpler for now.) This may cause resource exhaustion issues if too many
+ // sites are open at once.
const base::CommandLine& command_line =
*base::CommandLine::ForCurrentProcess();
- if (command_line.HasSwitch(switches::kEnableStrictSiteIsolation) ||
- command_line.HasSwitch(switches::kSitePerProcess))
+ if (command_line.HasSwitch(switches::kSitePerProcess))
return false;
if (run_renderer_in_process())

Powered by Google App Engine
This is Rietveld 408576698