| Index: third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.cpp b/third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.cpp
|
| index 50570f2c24d3cd287ae4f07adde2f26502f2daaf..272dd172925c85129031c4624055bef85f296392 100644
|
| --- a/third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.cpp
|
| @@ -1049,9 +1049,9 @@ void CSPDirectiveList::ParseRequireSRIFor(const String& name,
|
|
|
| if (token_begin < position) {
|
| String token = String(token_begin, position - token_begin);
|
| - if (DeprecatedEqualIgnoringCase(token, "script")) {
|
| + if (EqualIgnoringASCIICase(token, "script")) {
|
| require_sri_for_ |= RequireSRIForToken::kScript;
|
| - } else if (DeprecatedEqualIgnoringCase(token, "style")) {
|
| + } else if (EqualIgnoringASCIICase(token, "style")) {
|
| require_sri_for_ |= RequireSRIForToken::kStyle;
|
| } else {
|
| if (number_of_token_errors)
|
|
|