| Index: content/browser/web_contents/web_contents_impl_unittest.cc
|
| diff --git a/content/browser/web_contents/web_contents_impl_unittest.cc b/content/browser/web_contents/web_contents_impl_unittest.cc
|
| index d056e6ddfd6902bfd982d40b288436386f038e91..325425f533139368e4ab1bc18ff5eb71540d1ced 100644
|
| --- a/content/browser/web_contents/web_contents_impl_unittest.cc
|
| +++ b/content/browser/web_contents/web_contents_impl_unittest.cc
|
| @@ -29,6 +29,7 @@
|
| #include "content/public/common/bindings_policy.h"
|
| #include "content/public/common/content_constants.h"
|
| #include "content/public/common/content_switches.h"
|
| +#include "content/public/common/site_isolation_policy.h"
|
| #include "content/public/common/url_constants.h"
|
| #include "content/public/common/url_utils.h"
|
| #include "content/public/test/mock_render_process_host.h"
|
| @@ -2864,8 +2865,8 @@ TEST_F(WebContentsImplTest, StartStopEventsBalance) {
|
| // The bug manifests itself in regular mode as well, but browser-initiated
|
| // navigation of subframes is only possible in --site-per-process mode within
|
| // unit tests.
|
| - base::CommandLine::ForCurrentProcess()->AppendSwitch(
|
| - switches::kSitePerProcess);
|
| + SiteIsolationPolicy::IsolateAllSitesForTesting(
|
| + base::CommandLine::ForCurrentProcess());
|
| const GURL initial_url("about:blank");
|
| const GURL main_url("http://www.chromium.org");
|
| const GURL foo_url("http://foo.chromium.org");
|
|
|