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

Unified Diff: third_party/WebKit/Source/core/dom/DOMImplementation.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/core/dom/DOMImplementation.cpp
diff --git a/third_party/WebKit/Source/core/dom/DOMImplementation.cpp b/third_party/WebKit/Source/core/dom/DOMImplementation.cpp
index 110064e2587b0ec2e34939df398bd85efd027a52..38f1ca3b935de3a86fed2e2970d2499cdc272316 100644
--- a/third_party/WebKit/Source/core/dom/DOMImplementation.cpp
+++ b/third_party/WebKit/Source/core/dom/DOMImplementation.cpp
@@ -113,9 +113,9 @@ XMLDocument* DOMImplementation::createDocument(
}
bool DOMImplementation::IsXMLMIMEType(const String& mime_type) {
- if (EqualIgnoringCase(mime_type, "text/xml") ||
- EqualIgnoringCase(mime_type, "application/xml") ||
- EqualIgnoringCase(mime_type, "text/xsl"))
+ if (DeprecatedEqualIgnoringCase(mime_type, "text/xml") ||
+ DeprecatedEqualIgnoringCase(mime_type, "application/xml") ||
+ DeprecatedEqualIgnoringCase(mime_type, "text/xsl"))
return true;
// Per RFCs 3023 and 2045, an XML MIME type is of the form:
@@ -191,9 +191,9 @@ bool DOMImplementation::IsJSONMIMEType(const String& mime_type) {
static bool IsTextPlainType(const String& mime_type) {
return mime_type.StartsWith("text/", kTextCaseASCIIInsensitive) &&
- !(EqualIgnoringCase(mime_type, "text/html") ||
- EqualIgnoringCase(mime_type, "text/xml") ||
- EqualIgnoringCase(mime_type, "text/xsl"));
+ !(DeprecatedEqualIgnoringCase(mime_type, "text/html") ||
+ DeprecatedEqualIgnoringCase(mime_type, "text/xml") ||
+ DeprecatedEqualIgnoringCase(mime_type, "text/xsl"));
}
bool DOMImplementation::IsTextMIMEType(const String& mime_type) {
« no previous file with comments | « third_party/WebKit/Source/core/dom/CompositorProxy.cpp ('k') | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698