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 8b15d0be8028046d7aaae197a7bf03ff18da41fe..889e3252d9cf86d005d1a3b2269015fbaa139005 100644 |
--- a/third_party/WebKit/Source/wtf/text/StringImpl.h |
+++ b/third_party/WebKit/Source/wtf/text/StringImpl.h |
@@ -383,13 +383,15 @@ public: |
size_t count(LChar) const; |
- 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) const; |
+ bool startsWith(const StringImpl*) const; |
+ bool startsWithIgnoringCase(const StringImpl*) const; |
- bool endsWith(StringImpl*, TextCaseSensitivity = TextCaseSensitive); |
bool endsWith(UChar) const; |
bool endsWith(const char*, unsigned matchLength) const; |
+ bool endsWith(const StringImpl*) const; |
+ bool endsWithIgnoringCase(const StringImpl*) const; |
PassRefPtr<StringImpl> replace(UChar, UChar); |
PassRefPtr<StringImpl> replace(UChar, StringImpl*); |