| Index: third_party/WebKit/Source/wtf/text/StringImpl.h
|
| diff --git a/third_party/WebKit/Source/wtf/text/StringImpl.h b/third_party/WebKit/Source/wtf/text/StringImpl.h
|
| index cc01ab39653a95a5841e209457c896363b5b1f5c..8b15d0be8028046d7aaae197a7bf03ff18da41fe 100644
|
| --- a/third_party/WebKit/Source/wtf/text/StringImpl.h
|
| +++ b/third_party/WebKit/Source/wtf/text/StringImpl.h
|
| @@ -385,15 +385,11 @@ public:
|
|
|
| bool startsWith(StringImpl* str, TextCaseSensitivity caseSensitivity = TextCaseSensitive) { return ((caseSensitivity == TextCaseSensitive) ? reverseFind(str, 0) : reverseFindIgnoringCase(str, 0)) == 0; }
|
| bool startsWith(UChar) const;
|
| - bool startsWith(const char*, unsigned matchLength, TextCaseSensitivity) const;
|
| - template<unsigned matchLength>
|
| - bool startsWith(const char (&prefix)[matchLength], TextCaseSensitivity caseSensitivity = TextCaseSensitive) const { return startsWith(prefix, matchLength - 1, caseSensitivity); }
|
| + bool startsWith(const char*, unsigned matchLength) const;
|
|
|
| bool endsWith(StringImpl*, TextCaseSensitivity = TextCaseSensitive);
|
| bool endsWith(UChar) const;
|
| - bool endsWith(const char*, unsigned matchLength, TextCaseSensitivity) const;
|
| - template<unsigned matchLength>
|
| - bool endsWith(const char (&prefix)[matchLength], TextCaseSensitivity caseSensitivity = TextCaseSensitive) const { return endsWith(prefix, matchLength - 1, caseSensitivity); }
|
| + bool endsWith(const char*, unsigned matchLength) const;
|
|
|
| PassRefPtr<StringImpl> replace(UChar, UChar);
|
| PassRefPtr<StringImpl> replace(UChar, StringImpl*);
|
|
|