| Index: content/browser/site_instance_impl_unittest.cc
|
| diff --git a/content/browser/site_instance_impl_unittest.cc b/content/browser/site_instance_impl_unittest.cc
|
| index 714b6e41bb5556a485eeab6f79204b472ea56cb2..bcc03f9e05519a7117437074de2ed37d931eca45 100644
|
| --- a/content/browser/site_instance_impl_unittest.cc
|
| +++ b/content/browser/site_instance_impl_unittest.cc
|
| @@ -557,6 +557,11 @@ static SiteInstanceImpl* CreateSiteInstance(BrowserContext* browser_context,
|
| // Test to ensure that pages that require certain privileges are grouped
|
| // in processes with similar pages.
|
| TEST_F(SiteInstanceTest, ProcessSharingByType) {
|
| + // This test shouldn't run with --site-per-process mode, since it doesn't
|
| + // allow render process reuse, which this test explicitly exercises.
|
| + if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kSitePerProcess))
|
| + return;
|
| +
|
| ChildProcessSecurityPolicyImpl* policy =
|
| ChildProcessSecurityPolicyImpl::GetInstance();
|
|
|
|
|