summaryrefslogtreecommitdiff
path: root/chromium/content/common/site_isolation_policy.cc
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2017-03-08 10:28:10 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2017-03-20 13:40:30 +0000
commite733310db58160074f574c429d48f8308c0afe17 (patch)
treef8aef4b7e62a69928dbcf880620eece20f98c6df /chromium/content/common/site_isolation_policy.cc
parent2f583e4aec1ae3a86fa047829c96b310dc12ecdf (diff)
downloadqtwebengine-chromium-e733310db58160074f574c429d48f8308c0afe17.tar.gz
BASELINE: Update Chromium to 56.0.2924.122
Change-Id: I4e04de8f47e47e501c46ed934c76a431c6337ced Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
Diffstat (limited to 'chromium/content/common/site_isolation_policy.cc')
-rw-r--r--chromium/content/common/site_isolation_policy.cc5
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