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

Unified Diff: third_party/WebKit/Source/platform/wtf/text/StringView.h

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/wtf/text/StringView.h
diff --git a/third_party/WebKit/Source/platform/wtf/text/StringView.h b/third_party/WebKit/Source/platform/wtf/text/StringView.h
index 3c4d2fbc38de48dd0fb62c56372f0ba1c6c7f3d1..9c4876a6d8b12740e7b4622dc336b0e1d3226655 100644
--- a/third_party/WebKit/Source/platform/wtf/text/StringView.h
+++ b/third_party/WebKit/Source/platform/wtf/text/StringView.h
@@ -221,9 +221,12 @@ inline void StringView::Set(const StringImpl& impl,
// Unicode aware case insensitive string matching. Non-ASCII characters might
// match to ASCII characters. These functions are rarely used to implement web
// platform features.
-WTF_EXPORT bool EqualIgnoringCase(const StringView&, const StringView&);
-WTF_EXPORT bool EqualIgnoringCaseAndNullity(const StringView&,
+// These functions are deprecated. Use EqualIgnoringASCIICase(), or introduce
+// EqualIgnoringUnicodeCase(). See crbug.com/627682
+WTF_EXPORT bool DeprecatedEqualIgnoringCase(const StringView&,
const StringView&);
+WTF_EXPORT bool DeprecatedEqualIgnoringCaseAndNullity(const StringView&,
+ const StringView&);
WTF_EXPORT bool EqualIgnoringASCIICase(const StringView&, const StringView&);
@@ -266,7 +269,7 @@ inline bool StringView::IsAllSpecialCharacters() const {
using WTF::StringView;
using WTF::EqualIgnoringASCIICase;
-using WTF::EqualIgnoringCase;
+using WTF::DeprecatedEqualIgnoringCase;
using WTF::IsAllSpecialCharacters;
#endif
« no previous file with comments | « third_party/WebKit/Source/platform/wtf/text/StringImpl.cpp ('k') | third_party/WebKit/Source/platform/wtf/text/StringView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698