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

Unified Diff: third_party/WebKit/Source/platform/loader/fetch/CrossOriginAccessControl.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/platform/loader/fetch/CrossOriginAccessControl.cpp
diff --git a/third_party/WebKit/Source/platform/loader/fetch/CrossOriginAccessControl.cpp b/third_party/WebKit/Source/platform/loader/fetch/CrossOriginAccessControl.cpp
index d15cf03b20e505edb05e4c70ea793e6d68a1ed17..f5eb494d3e35deeb5c372d99bb4163a897319804 100644
--- a/third_party/WebKit/Source/platform/loader/fetch/CrossOriginAccessControl.cpp
+++ b/third_party/WebKit/Source/platform/loader/fetch/CrossOriginAccessControl.cpp
@@ -62,7 +62,7 @@ static AtomicString CreateAccessControlRequestHeadersHeader(
// Exclude simple headers.
continue;
}
- if (EqualIgnoringCase(header.key, "referer")) {
+ if (DeprecatedEqualIgnoringCase(header.key, "referer")) {
// When the request is from a Worker, referrer header was added by
// WorkerThreadableLoader. But it should not be added to
// Access-Control-Request-Headers header.
@@ -353,7 +353,7 @@ CrossOriginAccessControl::CheckExternalPreflight(
response.HttpHeaderField(HTTPNames::Access_Control_Allow_External);
if (result.IsNull())
return kPreflightMissingAllowExternal;
- if (!EqualIgnoringCase(result, "true"))
+ if (!DeprecatedEqualIgnoringCase(result, "true"))
return kPreflightInvalidAllowExternal;
return kPreflightSuccess;
}

Powered by Google App Engine
This is Rietveld 408576698