| 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 21722f6c3559c9554059e92815123b9f44a185b7..053ddde6ecc087cc6d5cbaf463a287a75f520479 100644
|
| --- a/third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.cpp
|
| @@ -1054,9 +1054,9 @@ void CSPDirectiveList::ParseRequireSRIFor(const String& name,
|
|
|
| if (token_begin < position) {
|
| String token = String(token_begin, position - token_begin);
|
| - if (EqualIgnoringCase(token, "script")) {
|
| + if (DeprecatedEqualIgnoringCase(token, "script")) {
|
| require_sri_for_ |= RequireSRIForToken::kScript;
|
| - } else if (EqualIgnoringCase(token, "style")) {
|
| + } else if (DeprecatedEqualIgnoringCase(token, "style")) {
|
| require_sri_for_ |= RequireSRIForToken::kStyle;
|
| } else {
|
| if (number_of_token_errors)
|
|
|