diff options
Diffstat (limited to 'chromium/content/common/site_isolation_policy.cc')
-rw-r--r-- | chromium/content/common/site_isolation_policy.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chromium/content/common/site_isolation_policy.cc b/chromium/content/common/site_isolation_policy.cc index 4ab845d60b2..015940a1ec5 100644 --- a/chromium/content/common/site_isolation_policy.cc +++ b/chromium/content/common/site_isolation_policy.cc @@ -5,9 +5,11 @@ #include "content/common/site_isolation_policy.h" #include "base/command_line.h" +#include "base/feature_list.h" #include "base/lazy_instance.h" #include "content/public/common/browser_side_navigation_policy.h" #include "content/public/common/content_client.h" +#include "content/public/common/content_features.h" #include "content/public/common/content_switches.h" namespace content { @@ -17,8 +19,7 @@ bool SiteIsolationPolicy::AreCrossProcessFramesPossible() { return UseDedicatedProcessesForAllSites() || IsTopDocumentIsolationEnabled() || GetContentClient()->IsSupplementarySiteIsolationModeEnabled() || - base::CommandLine::ForCurrentProcess()->HasSwitch( - switches::kUseCrossProcessFramesForGuests); + base::FeatureList::IsEnabled(::features::kGuestViewCrossProcessFrames); } // static |