| Index: third_party/WebKit/Source/platform/feature_policy/FeaturePolicy.cpp
|
| diff --git a/third_party/WebKit/Source/platform/feature_policy/FeaturePolicy.cpp b/third_party/WebKit/Source/platform/feature_policy/FeaturePolicy.cpp
|
| index 476cdbc3ced31e9a946c81095bfb6d371fab0630..0ef3328b58f723032526002e20d2582a9ec75452 100644
|
| --- a/third_party/WebKit/Source/platform/feature_policy/FeaturePolicy.cpp
|
| +++ b/third_party/WebKit/Source/platform/feature_policy/FeaturePolicy.cpp
|
| @@ -73,7 +73,7 @@ WebParsedFeaturePolicyHeader parseFeaturePolicy(const String& policy,
|
|
|
| for (size_t j = 0; j < item->size(); ++j) {
|
| JSONObject::Entry entry = item->at(j);
|
| - String featureName = entry.first;
|
| + WebFeaturePolicyFeature feature = getWebFeaturePolicyFeature(entry.first);
|
| JSONArray* targets = JSONArray::cast(entry.second);
|
| if (!targets) {
|
| if (messages)
|
| @@ -82,7 +82,7 @@ WebParsedFeaturePolicyHeader parseFeaturePolicy(const String& policy,
|
| }
|
|
|
| WebParsedFeaturePolicyDeclaration whitelist;
|
| - whitelist.featureName = featureName;
|
| + whitelist.feature = feature;
|
| Vector<WebSecurityOrigin> origins;
|
| String targetString;
|
| for (size_t j = 0; j < targets->size(); ++j) {
|
|
|