Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(457)

Unified Diff: third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.cpp

Issue 2869893004: CSP: Replace DeprecatedEqualIgnoringCase with EqualIgnoringASCIICase. (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/frame/csp/CSPSource.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/frame/csp/CSPSource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698