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

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

Issue 1507763003: Drop TextCaseSensitivity from {start,end}sWith(const char*, ...) (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 | « no previous file | third_party/WebKit/Source/wtf/text/StringImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/wtf/text/AtomicString.h
diff --git a/third_party/WebKit/Source/wtf/text/AtomicString.h b/third_party/WebKit/Source/wtf/text/AtomicString.h
index 0a83aa7bc4f5380bb7803ebe685f6ac15ffa2b8e..32468cdaa9104c45c015303da0a36e59d2373628 100644
--- a/third_party/WebKit/Source/wtf/text/AtomicString.h
+++ b/third_party/WebKit/Source/wtf/text/AtomicString.h
@@ -107,16 +107,16 @@ public:
bool startsWith(UChar character) const
{ return m_string.startsWith(character); }
template<unsigned matchLength>
- bool startsWith(const char (&prefix)[matchLength], TextCaseSensitivity caseSensitivity = TextCaseSensitive) const
- { return m_string.startsWith<matchLength>(prefix, caseSensitivity); }
+ bool startsWith(const char (&prefix)[matchLength]) const
+ { return m_string.startsWith<matchLength>(prefix); }
bool endsWith(const String& s, TextCaseSensitivity caseSensitivity = TextCaseSensitive) const
{ return m_string.endsWith(s, caseSensitivity); }
bool endsWith(UChar character) const
{ return m_string.endsWith(character); }
template<unsigned matchLength>
- bool endsWith(const char (&prefix)[matchLength], TextCaseSensitivity caseSensitivity = TextCaseSensitive) const
- { return m_string.endsWith<matchLength>(prefix, caseSensitivity); }
+ bool endsWith(const char (&prefix)[matchLength]) const
+ { return m_string.endsWith<matchLength>(prefix); }
AtomicString lower() const;
AtomicString upper() const { return AtomicString(impl()->upper()); }
« no previous file with comments | « no previous file | third_party/WebKit/Source/wtf/text/StringImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698