| Index: content/browser/frame_host/render_frame_host_impl.cc
|
| diff --git a/content/browser/frame_host/render_frame_host_impl.cc b/content/browser/frame_host/render_frame_host_impl.cc
|
| index e24f70a6b6902c5bae10d4b94b946ca584a12f63..c5e39104d4ae34d12f78c73daa3c418e578a4f0c 100644
|
| --- a/content/browser/frame_host/render_frame_host_impl.cc
|
| +++ b/content/browser/frame_host/render_frame_host_impl.cc
|
| @@ -62,6 +62,7 @@
|
| #include "content/public/common/content_constants.h"
|
| #include "content/public/common/content_switches.h"
|
| #include "content/public/common/isolated_world_ids.h"
|
| +#include "content/public/common/site_isolation_policy.h"
|
| #include "content/public/common/url_constants.h"
|
| #include "content/public/common/url_utils.h"
|
| #include "ui/accessibility/ax_tree.h"
|
| @@ -1317,8 +1318,7 @@ void RenderFrameHostImpl::OnBeginNavigation(
|
| }
|
|
|
| void RenderFrameHostImpl::OnDispatchLoad() {
|
| - CHECK(base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| - switches::kSitePerProcess));
|
| + CHECK(SiteIsolationPolicy::AreCrossProcessFramesPossible());
|
| // Only frames with an out-of-process parent frame should be sending this
|
| // message.
|
| RenderFrameProxyHost* proxy =
|
|
|