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

Unified Diff: third_party/WebKit/Source/platform/mhtml/MHTMLParser.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/mhtml/MHTMLParser.cpp
diff --git a/third_party/WebKit/Source/platform/mhtml/MHTMLParser.cpp b/third_party/WebKit/Source/platform/mhtml/MHTMLParser.cpp
index 23537550aecca391f48522c7861d678a748e2453..8df5689eb0482d03d3599dc3b3fbcae8b9d55e1b 100644
--- a/third_party/WebKit/Source/platform/mhtml/MHTMLParser.cpp
+++ b/third_party/WebKit/Source/platform/mhtml/MHTMLParser.cpp
@@ -60,7 +60,7 @@ class MIMEHeader : public GarbageCollectedFinalized<MIMEHeader> {
static MIMEHeader* parseHeader(SharedBufferChunkReader* crLFLineReader);
bool isMultipart() const {
- return m_contentType.startsWith("multipart/", TextCaseInsensitive);
+ return m_contentType.startsWith("multipart/", TextCaseASCIIInsensitive);
}
String contentType() const { return m_contentType; }

Powered by Google App Engine
This is Rietveld 408576698