Index: third_party/WebKit/Source/platform/wtf/text/WTFString.h |
diff --git a/third_party/WebKit/Source/platform/wtf/text/WTFString.h b/third_party/WebKit/Source/platform/wtf/text/WTFString.h |
index 2c3efa37cea5d29004b2859c2b3c40e39dcf31ee..d1271e16db27dcda321ebfd8e3870b527001f883 100644 |
--- a/third_party/WebKit/Source/platform/wtf/text/WTFString.h |
+++ b/third_party/WebKit/Source/platform/wtf/text/WTFString.h |
@@ -297,6 +297,9 @@ class WTF_EXPORT String { |
String LowerUnicode(const AtomicString& locale_identifier) const; |
String UpperUnicode(const AtomicString& locale_identifier) const; |
+ // Returns a lowercase version of the string. |
+ // This function converts ASCII characters only. |
+ String LowerASCII() const; |
// Returns a uppercase version of the string. |
// This function converts ASCII characters only. |
String UpperASCII() const; |
@@ -472,10 +475,10 @@ inline bool operator!=(const char* a, const String& b) { |
return !(a == b); |
} |
-inline bool EqualPossiblyIgnoringCase(const String& a, |
- const String& b, |
- bool ignore_case) { |
- return ignore_case ? DeprecatedEqualIgnoringCase(a, b) : (a == b); |
+inline bool EqualPossiblyIgnoringASCIICase(const String& a, |
+ const String& b, |
+ bool ignore_case) { |
+ return ignore_case ? EqualIgnoringASCIICase(a, b) : (a == b); |
} |
inline bool EqualIgnoringNullity(const String& a, const String& b) { |