| 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())
|
|
|