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 34e62da1ba50ddd0f22037045393c081cd60afca..9953670db5c55de5f750138d1223947d013d1378 100644 |
--- a/third_party/WebKit/Source/core/dom/SandboxFlags.cpp |
+++ b/third_party/WebKit/Source/core/dom/SandboxFlags.cpp |
@@ -68,10 +68,10 @@ SandboxFlags parseSandboxPolicy(const SpaceSplitString& policy, |
} else if (equalIgnoringCase(sandboxToken, "allow-presentation")) { |
flags &= ~SandboxPresentation; |
} else if (equalIgnoringCase(sandboxToken, |
- "allow-top-navigation-with-user-activation") && |
+ "allow-top-navigation-by-user-activation") && |
RuntimeEnabledFeatures:: |
- topNavWithUserActivationInSandboxEnabled()) { |
- flags &= ~SandboxTopNavigationWithUserActivation; |
+ topNavByUserActivationInSandboxEnabled()) { |
+ flags &= ~SandboxTopNavigationByUserActivation; |
} else { |
tokenErrors.append(tokenErrors.isEmpty() ? "'" : ", '"); |
tokenErrors.append(sandboxToken); |