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

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

Issue 2333933002: Move String::remove to StringImpl. (Closed)
Patch Set: types. Created 4 years, 3 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
« no previous file with comments | « third_party/WebKit/Source/wtf/text/StringImpl.cpp ('k') | third_party/WebKit/Source/wtf/text/WTFString.cpp » ('j') | 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 f4e529e04ad32f520f34d46c544157a500435156..a76491fe4a861e5dd7664563630743e64baa37a7 100644
--- a/third_party/WebKit/Source/wtf/text/WTFString.h
+++ b/third_party/WebKit/Source/wtf/text/WTFString.h
@@ -255,7 +255,7 @@ public:
void ensure16Bit();
void truncate(unsigned len);
- void remove(unsigned pos, int len = 1);
+ void remove(unsigned start, unsigned length = 1);
String substring(unsigned pos, unsigned len = UINT_MAX) const;
String left(unsigned len) const { return substring(0, len); }
@@ -374,9 +374,6 @@ private:
operator UnspecifiedBoolType() const;
template <typename CharacterType>
- void removeInternal(const CharacterType*, unsigned, int);
-
- template <typename CharacterType>
void appendInternal(CharacterType);
RefPtr<StringImpl> m_impl;
« no previous file with comments | « third_party/WebKit/Source/wtf/text/StringImpl.cpp ('k') | third_party/WebKit/Source/wtf/text/WTFString.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698