| Index: content/renderer/render_frame_impl_browsertest.cc
|
| diff --git a/content/renderer/render_frame_impl_browsertest.cc b/content/renderer/render_frame_impl_browsertest.cc
|
| index 3ca5975e4dd780ddddcff9e2b5c83c1bf9ba1859..defe34b0d71b21314582d4cfe83bcba41f0548ec 100644
|
| --- a/content/renderer/render_frame_impl_browsertest.cc
|
| +++ b/content/renderer/render_frame_impl_browsertest.cc
|
| @@ -6,7 +6,7 @@
|
| #include "base/debug/leak_annotations.h"
|
| #include "content/common/frame_messages.h"
|
| #include "content/common/view_messages.h"
|
| -#include "content/public/common/content_switches.h"
|
| +#include "content/public/common/site_isolation_policy.h"
|
| #include "content/public/test/frame_load_waiter.h"
|
| #include "content/public/test/render_view_test.h"
|
| #include "content/renderer/render_frame_impl.h"
|
| @@ -44,8 +44,8 @@ class RenderFrameImplTest : public RenderViewTest {
|
|
|
| compositor_deps_.reset(new FakeCompositorDependencies);
|
|
|
| - base::CommandLine::ForCurrentProcess()->AppendSwitch(
|
| - switches::kSitePerProcess);
|
| + SiteIsolationPolicy::IsolateAllSitesForTesting(
|
| + base::CommandLine::ForCurrentProcess());
|
|
|
| LoadHTML("Parent frame <iframe name='frame'></iframe>");
|
|
|
|
|