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

Unified Diff: third_party/WebKit/Source/wtf/text/WTFString.h

Issue 1508423004: Remove String::reverseFindIgnoringCase (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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
« no previous file with comments | « third_party/WebKit/Source/wtf/text/StringImpl.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/wtf/text/WTFString.h
diff --git a/third_party/WebKit/Source/wtf/text/WTFString.h b/third_party/WebKit/Source/wtf/text/WTFString.h
index 2f4be9107c5bfd27b7c44138a5eb2f9152799e62..f692c9fb859f4c0f78df5f06dea75c9cd632ac03 100644
--- a/third_party/WebKit/Source/wtf/text/WTFString.h
+++ b/third_party/WebKit/Source/wtf/text/WTFString.h
@@ -235,16 +235,12 @@ public:
{ return m_impl ? m_impl->findIgnoringCase(str, start) : kNotFound; }
size_t findIgnoringCase(const String& str, unsigned start = 0) const
{ return m_impl ? m_impl->findIgnoringCase(str.impl(), start) : kNotFound; }
- size_t reverseFindIgnoringCase(const String& str, unsigned start = UINT_MAX) const
- { return m_impl ? m_impl->reverseFindIgnoringCase(str.impl(), start) : kNotFound; }
- // Wrappers for find & reverseFind adding dynamic sensitivity check.
+ // Wrappers for find adding dynamic sensitivity check.
size_t find(const LChar* str, unsigned start, TextCaseSensitivity caseSensitivity) const
{ return DISPATCH_CASE_OP(caseSensitivity, find, (str, start)); }
size_t find(const String& str, unsigned start, TextCaseSensitivity caseSensitivity) const
{ return DISPATCH_CASE_OP(caseSensitivity, find, (str, start)); }
- size_t reverseFind(const String& str, unsigned start, TextCaseSensitivity caseSensitivity) const
- { return (caseSensitivity == TextCaseSensitive) ? reverseFind(str, start) : reverseFindIgnoringCase(str, start); }
Vector<UChar> charactersWithNullTermination() const;
unsigned copyTo(UChar* buffer, unsigned pos, unsigned maxLength) const;
« no previous file with comments | « third_party/WebKit/Source/wtf/text/StringImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698