Index: chrome/browser/chrome_content_browser_client_browsertest.cc |
diff --git a/chrome/browser/chrome_content_browser_client_browsertest.cc b/chrome/browser/chrome_content_browser_client_browsertest.cc |
index 46bcbd6d12b01f83c2fac5389ee7e58c643fcfd8..5268dccfa2c06ad105a5d40cea65aae8fa00a0e3 100644 |
--- a/chrome/browser/chrome_content_browser_client_browsertest.cc |
+++ b/chrome/browser/chrome_content_browser_client_browsertest.cc |
@@ -11,7 +11,7 @@ |
#include "content/public/browser/navigation_controller.h" |
#include "content/public/browser/navigation_entry.h" |
#include "content/public/browser/web_contents.h" |
-#include "content/public/common/content_switches.h" |
+#include "content/public/test/browser_test_utils.h" |
#include "url/gurl.h" |
namespace content { |
@@ -87,8 +87,7 @@ IN_PROC_BROWSER_TEST_F(ChromeContentBrowserClientBrowserTest, |
// such as http://crbug.com/164223. |
IN_PROC_BROWSER_TEST_F(ChromeContentBrowserClientBrowserTest, |
SitePerProcessNavigation) { |
- base::CommandLine::ForCurrentProcess()->AppendSwitch( |
- switches::kSitePerProcess); |
+ content::IsolateAllSitesForTesting(base::CommandLine::ForCurrentProcess()); |
ASSERT_TRUE(test_server()->Start()); |
const GURL url(test_server()->GetURL("files/title1.html")); |