Index: content/browser/site_per_process_browsertest.cc |
diff --git a/content/browser/site_per_process_browsertest.cc b/content/browser/site_per_process_browsertest.cc |
index dc1fb4a1464d00670081ce02e187e367fc835882..8f01d9d91c1073aa1cfd0ca25dc516c0606623e6 100644 |
--- a/content/browser/site_per_process_browsertest.cc |
+++ b/content/browser/site_per_process_browsertest.cc |
@@ -25,6 +25,7 @@ |
#include "content/public/browser/notification_service.h" |
#include "content/public/browser/notification_types.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_navigation_observer.h" |
@@ -276,7 +277,7 @@ void SitePerProcessBrowserTest::StartFrameAtDataURL() { |
void SitePerProcessBrowserTest::SetUpCommandLine( |
base::CommandLine* command_line) { |
- command_line->AppendSwitch(switches::kSitePerProcess); |
+ SiteIsolationPolicy::IsolateAllSitesForTesting(command_line); |
}; |
void SitePerProcessBrowserTest::SetUpOnMainThread() { |