Index: chrome/browser/chrome_site_per_process_browsertest.cc |
diff --git a/chrome/browser/chrome_site_per_process_browsertest.cc b/chrome/browser/chrome_site_per_process_browsertest.cc |
index 10e8783be03e166c4bc20a2041d3f167b7c4a6d9..c7054b94a69a027f2e40def1cd39eb0bb5c48dd6 100644 |
--- a/chrome/browser/chrome_site_per_process_browsertest.cc |
+++ b/chrome/browser/chrome_site_per_process_browsertest.cc |
@@ -14,7 +14,7 @@ |
#include "content/public/browser/render_frame_host.h" |
#include "content/public/browser/web_contents.h" |
#include "content/public/browser/web_contents_observer.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_utils.h" |
#include "content/public/test/test_utils.h" |
@@ -28,7 +28,7 @@ class ChromeSitePerProcessTest : public InProcessBrowserTest { |
~ChromeSitePerProcessTest() override {} |
void SetUpCommandLine(base::CommandLine* command_line) override { |
- command_line->AppendSwitch(switches::kSitePerProcess); |
+ content::SiteIsolationPolicy::IsolateAllSitesForTesting(command_line); |
} |
void SetUpOnMainThread() override { |