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

Unified Diff: third_party/WebKit/Source/platform/ContentType.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
Index: third_party/WebKit/Source/platform/ContentType.cpp
diff --git a/third_party/WebKit/Source/platform/ContentType.cpp b/third_party/WebKit/Source/platform/ContentType.cpp
index 08bf0489606e754a6232f5dddf0986447b60160d..8edb5c5cd4b7fe48999d819973e23959b2ce8509 100644
--- a/third_party/WebKit/Source/platform/ContentType.cpp
+++ b/third_party/WebKit/Source/platform/ContentType.cpp
@@ -41,7 +41,7 @@ String ContentType::parameter(const String& parameterName) const {
size_t semi = strippedType.find(';');
if (semi != kNotFound) {
size_t start =
- strippedType.find(parameterName, semi + 1, TextCaseInsensitive);
+ strippedType.find(parameterName, semi + 1, TextCaseASCIIInsensitive);
if (start != kNotFound) {
start = strippedType.find('=', start + parameterName.length());
if (start != kNotFound) {
« no previous file with comments | « third_party/WebKit/Source/modules/nfc/NFC.cpp ('k') | third_party/WebKit/Source/platform/fonts/win/FontCacheSkiaWin.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698