Index: third_party/WebKit/Source/core/html/HTMLIFrameElementAllow.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLIFrameElementAllow.cpp b/third_party/WebKit/Source/core/html/HTMLIFrameElementAllow.cpp |
index 1d31463110f5fbb59f4afb78eb3adae8dc92c142..1a1f2fa9cb07528e8cf8ee4e845b90181f5ec6da 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLIFrameElementAllow.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLIFrameElementAllow.cpp |
@@ -32,8 +32,7 @@ HTMLIFrameElementAllow::parseAllowedFeatureNames( |
// Collects a list of valid feature names. |
for (size_t i = 0; i < tokens.size(); ++i) { |
- WebFeaturePolicyFeature feature = |
- FeaturePolicy::getWebFeaturePolicyFeature(tokens[i]); |
+ WebFeaturePolicyFeature feature = getWebFeaturePolicyFeature(tokens[i]); |
if (feature == WebFeaturePolicyFeature::NotFound) { |
tokenErrors.append(tokenErrors.isEmpty() ? "'" : ", '"); |
tokenErrors.append(tokens[i]); |
@@ -60,7 +59,7 @@ HTMLIFrameElementAllow::parseAllowedFeatureNames( |
bool HTMLIFrameElementAllow::validateTokenValue(const AtomicString& tokenValue, |
ExceptionState&) const { |
- return FeaturePolicy::getWebFeaturePolicyFeature(tokenValue.getString()) != |
+ return getWebFeaturePolicyFeature(tokenValue.getString()) != |
WebFeaturePolicyFeature::NotFound; |
} |