| Index: content/browser/web_contents/opened_by_dom_browsertest.cc
|
| diff --git a/content/browser/web_contents/opened_by_dom_browsertest.cc b/content/browser/web_contents/opened_by_dom_browsertest.cc
|
| index f505afc35795e4daa65c2c5b6d609dd595005a2c..efca34f28fed87b9471ca26ef63f08cb1f1c0acc 100644
|
| --- a/content/browser/web_contents/opened_by_dom_browsertest.cc
|
| +++ b/content/browser/web_contents/opened_by_dom_browsertest.cc
|
| @@ -6,7 +6,6 @@
|
| #include "base/strings/stringprintf.h"
|
| #include "content/public/browser/web_contents.h"
|
| #include "content/public/browser/web_contents_delegate.h"
|
| -#include "content/public/common/content_switches.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"
|
| @@ -44,7 +43,7 @@ class OpenedByDOMTest : public ContentBrowserTest {
|
| protected:
|
| void SetUpCommandLine(base::CommandLine* command_line) override {
|
| // Use --site-per-process to force process swaps on cross-site navigations.
|
| - command_line->AppendSwitch(switches::kSitePerProcess);
|
| + IsolateAllSitesForTesting(command_line);
|
| }
|
|
|
| bool AttemptCloseFromJavaScript(WebContents* web_contents) {
|
|
|