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

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

Issue 2811793004: Rename EqualIgnoringCase*() to DeprecatedEqualIgnoringCase*() (Closed)
Patch Set: Created 3 years, 8 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
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)
« no previous file with comments | « third_party/WebKit/Source/core/frame/SmartClip.cpp ('k') | third_party/WebKit/Source/core/frame/csp/CSPSource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698