Index: third_party/WebKit/Source/core/dom/SandboxFlags.cpp |
diff --git a/third_party/WebKit/Source/core/dom/SandboxFlags.cpp b/third_party/WebKit/Source/core/dom/SandboxFlags.cpp |
index fb5f37799dd65a425d8c26ff05c677cf0d698c4d..c4b7c8b893075946853aa0ce0dd1e7f571d2af4a 100644 |
--- a/third_party/WebKit/Source/core/dom/SandboxFlags.cpp |
+++ b/third_party/WebKit/Source/core/dom/SandboxFlags.cpp |
@@ -27,7 +27,6 @@ |
#include "core/dom/SandboxFlags.h" |
#include "core/html/parser/HTMLParserIdioms.h" |
-#include "platform/RuntimeEnabledFeatures.h" |
#include "wtf/text/StringBuilder.h" |
namespace blink { |
@@ -60,8 +59,7 @@ SandboxFlags parseSandboxPolicy(const SpaceSplitString& policy, |
} else if (equalIgnoringCase(sandboxToken, "allow-orientation-lock")) { |
flags &= ~SandboxOrientationLock; |
} else if (equalIgnoringCase(sandboxToken, |
- "allow-popups-to-escape-sandbox") && |
- RuntimeEnabledFeatures::unsandboxedAuxiliaryEnabled()) { |
+ "allow-popups-to-escape-sandbox")) { |
flags &= ~SandboxPropagatesToAuxiliaryBrowsingContexts; |
} else if (equalIgnoringCase(sandboxToken, "allow-modals")) { |
flags &= ~SandboxModals; |