| Index: content/renderer/render_view_browsertest.cc
|
| diff --git a/content/renderer/render_view_browsertest.cc b/content/renderer/render_view_browsertest.cc
|
| index b98d726ee07f56a226c1e92b47f9c4b9846e6eb1..e0497d8e9769afa943f70174ac99c3da9de9b7f8 100644
|
| --- a/content/renderer/render_view_browsertest.cc
|
| +++ b/content/renderer/render_view_browsertest.cc
|
| @@ -24,6 +24,7 @@
|
| #include "content/public/common/bindings_policy.h"
|
| #include "content/public/common/content_switches.h"
|
| #include "content/public/common/page_zoom.h"
|
| +#include "content/public/common/site_isolation_policy.h"
|
| #include "content/public/common/url_constants.h"
|
| #include "content/public/common/url_utils.h"
|
| #include "content/public/renderer/content_renderer_client.h"
|
| @@ -764,8 +765,7 @@ TEST_F(RenderViewImplTest, ReloadWhileSwappedOut) {
|
| TEST_F(RenderViewImplTest, OriginReplicationForSwapOut) {
|
| // This test should only run with --site-per-process, since origin
|
| // replication only happens in that mode.
|
| - if (!base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| - switches::kSitePerProcess))
|
| + if (!SiteIsolationPolicy::AreAllSitesIsolatedForTesting())
|
| return;
|
|
|
| LoadHTML(
|
|
|