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

Unified Diff: third_party/WebKit/Source/core/fetch/FetchUtils.cpp

Issue 2508033004: Reduce unnecessary usage of TextCaseSensitivity::TextCaseInsensitive. (Closed)
Patch Set: Created 4 years, 1 month 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 | « third_party/WebKit/Source/core/dom/Document.cpp ('k') | third_party/WebKit/Source/core/fetch/Resource.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/fetch/FetchUtils.cpp
diff --git a/third_party/WebKit/Source/core/fetch/FetchUtils.cpp b/third_party/WebKit/Source/core/fetch/FetchUtils.cpp
index 8baceb2aa0a9d9e8bdf87a0165cc1b93f8aec2e5..223e0c848d63b9b914fb7d8baa8bb71a5b958e3d 100644
--- a/third_party/WebKit/Source/core/fetch/FetchUtils.cpp
+++ b/third_party/WebKit/Source/core/fetch/FetchUtils.cpp
@@ -27,8 +27,8 @@ class ForbiddenHeaderNames {
public:
bool has(const String& name) const {
return m_fixedNames.contains(name) ||
- name.startsWith(m_proxyHeaderPrefix, TextCaseInsensitive) ||
- name.startsWith(m_secHeaderPrefix, TextCaseInsensitive);
+ name.startsWith(m_proxyHeaderPrefix, TextCaseASCIIInsensitive) ||
+ name.startsWith(m_secHeaderPrefix, TextCaseASCIIInsensitive);
}
static const ForbiddenHeaderNames& get();
« no previous file with comments | « third_party/WebKit/Source/core/dom/Document.cpp ('k') | third_party/WebKit/Source/core/fetch/Resource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698