Index: content/browser/frame_host/render_widget_host_view_child_frame_browsertest.cc |
diff --git a/content/browser/frame_host/render_widget_host_view_child_frame_browsertest.cc b/content/browser/frame_host/render_widget_host_view_child_frame_browsertest.cc |
index 3e369087141c5ad526a3a1e283e85c67e6baacee..00d684e49c00d09210cd8d6397dfe6f16c6ed088 100644 |
--- a/content/browser/frame_host/render_widget_host_view_child_frame_browsertest.cc |
+++ b/content/browser/frame_host/render_widget_host_view_child_frame_browsertest.cc |
@@ -2,11 +2,10 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "base/command_line.h" |
#include "content/browser/web_contents/web_contents_impl.h" |
#include "content/public/browser/render_frame_host.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" |
@@ -24,7 +23,7 @@ class RenderWidgetHostViewChildFrameTest : public ContentBrowserTest { |
RenderWidgetHostViewChildFrameTest() {} |
void SetUpCommandLine(base::CommandLine* command_line) override { |
- command_line->AppendSwitch(switches::kSitePerProcess); |
+ SiteIsolationPolicy::IsolateAllSitesForTesting(command_line); |
} |
void SetUpOnMainThread() override { |