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

Unified Diff: third_party/WebKit/Source/platform/network/mime/MIMETypeRegistry.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/network/mime/MIMETypeRegistry.cpp
diff --git a/third_party/WebKit/Source/platform/network/mime/MIMETypeRegistry.cpp b/third_party/WebKit/Source/platform/network/mime/MIMETypeRegistry.cpp
index f26a25e1419b7504ebbfc9e036cbf799983f3d67..bdb38ae9c6f0c82a390294dc357a98daad110c27 100644
--- a/third_party/WebKit/Source/platform/network/mime/MIMETypeRegistry.cpp
+++ b/third_party/WebKit/Source/platform/network/mime/MIMETypeRegistry.cpp
@@ -113,10 +113,10 @@ bool MIMETypeRegistry::IsSupportedImagePrefixedMIMEType(
bool MIMETypeRegistry::IsSupportedImageMIMETypeForEncoding(
const String& mime_type) {
- if (EqualIgnoringCase(mime_type, "image/jpeg") ||
- EqualIgnoringCase(mime_type, "image/png"))
+ if (DeprecatedEqualIgnoringCase(mime_type, "image/jpeg") ||
+ DeprecatedEqualIgnoringCase(mime_type, "image/png"))
return true;
- if (EqualIgnoringCase(mime_type, "image/webp"))
+ if (DeprecatedEqualIgnoringCase(mime_type, "image/webp"))
return true;
return false;
}
@@ -197,7 +197,7 @@ bool MIMETypeRegistry::IsJavaAppletMIMEType(const String& mime_type) {
}
bool MIMETypeRegistry::IsSupportedStyleSheetMIMEType(const String& mime_type) {
- return EqualIgnoringCase(mime_type, "text/css");
+ return DeprecatedEqualIgnoringCase(mime_type, "text/css");
}
bool MIMETypeRegistry::IsSupportedFontMIMEType(const String& mime_type) {
@@ -210,7 +210,7 @@ bool MIMETypeRegistry::IsSupportedFontMIMEType(const String& mime_type) {
}
bool MIMETypeRegistry::IsSupportedTextTrackMIMEType(const String& mime_type) {
- return EqualIgnoringCase(mime_type, "text/vtt");
+ return DeprecatedEqualIgnoringCase(mime_type, "text/vtt");
}
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/platform/network/HTTPParsers.cpp ('k') | third_party/WebKit/Source/platform/text/LocaleMac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698