| Index: content/browser/cross_site_transfer_browsertest.cc
|
| diff --git a/content/browser/cross_site_transfer_browsertest.cc b/content/browser/cross_site_transfer_browsertest.cc
|
| index 6b54a514609dac7885697b97160c44ee3ac1a372..51f91c9793f44f06f34b4295c784996e95f297c6 100644
|
| --- a/content/browser/cross_site_transfer_browsertest.cc
|
| +++ b/content/browser/cross_site_transfer_browsertest.cc
|
| @@ -9,7 +9,7 @@
|
| #include "content/public/browser/resource_dispatcher_host_delegate.h"
|
| #include "content/public/browser/resource_throttle.h"
|
| #include "content/public/browser/web_contents.h"
|
| -#include "content/public/common/content_switches.h"
|
| +#include "content/public/common/site_isolation_policy.h"
|
| #include "content/public/test/browser_test_utils.h"
|
| #include "content/public/test/content_browser_test.h"
|
| #include "content/public/test/content_browser_test_utils.h"
|
| @@ -209,8 +209,7 @@ class CrossSiteTransferTest : public ContentBrowserTest {
|
| }
|
|
|
| void SetUpCommandLine(base::CommandLine* command_line) override {
|
| - // Use --site-per-process to force process swaps for cross-site transfers.
|
| - command_line->AppendSwitch(switches::kSitePerProcess);
|
| + SiteIsolationPolicy::IsolateAllSitesForTesting(command_line);
|
| }
|
|
|
| void InjectResourceDisptcherHostDelegate() {
|
|
|