| Index: content/browser/renderer_host/render_message_filter_browsertest.cc
|
| diff --git a/content/browser/renderer_host/render_message_filter_browsertest.cc b/content/browser/renderer_host/render_message_filter_browsertest.cc
|
| index f6ae7ae6508875206b5f3ad5125a42a99b2e6562..39d313c66b8620c64a944f827f2953205f379c3a 100644
|
| --- a/content/browser/renderer_host/render_message_filter_browsertest.cc
|
| +++ b/content/browser/renderer_host/render_message_filter_browsertest.cc
|
| @@ -12,6 +12,7 @@
|
| #include "content/common/frame_messages.h"
|
| #include "content/public/browser/render_process_host.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"
|
| @@ -106,8 +107,7 @@ IN_PROC_BROWSER_TEST_F(RenderMessageFilterBrowserTest, Cookies) {
|
| IN_PROC_BROWSER_TEST_F(RenderMessageFilterBrowserTest,
|
| CrossSiteCookieSecurityEnforcement) {
|
| // The code under test is only active under site isolation.
|
| - if (!base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| - switches::kSitePerProcess)) {
|
| + if (!SiteIsolationPolicy::AreAllSitesIsolatedForTesting()) {
|
| return;
|
| }
|
|
|
|
|