Index: content/browser/site_instance_impl.cc |
diff --git a/content/browser/site_instance_impl.cc b/content/browser/site_instance_impl.cc |
index 5930d8304308c0c2e8e388a92bb04ff477fb7840..f17d578ba844da4225f94027e9a080adc5a8a484 100644 |
--- a/content/browser/site_instance_impl.cc |
+++ b/content/browser/site_instance_impl.cc |
@@ -341,12 +341,11 @@ void SiteInstanceImpl::RenderProcessHostDestroyed(RenderProcessHost* host) { |
} |
void SiteInstanceImpl::LockToOrigin() { |
- // We currently only restrict this process to a particular site if the |
- // --enable-strict-site-isolation or --site-per-process flags are present. |
+ // We currently only restrict this process to a particular site if --site-per- |
+ // process flag is present. |
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)) { |
ChildProcessSecurityPolicyImpl* policy = |
ChildProcessSecurityPolicyImpl::GetInstance(); |
policy->LockToOrigin(process_->GetID(), site_); |