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

Unified Diff: third_party/WebKit/Source/platform/wtf/text/StringBuilder.h

Issue 2956603002: Add StringBuilder::erase(index) (Closed)
Patch Set: StringBuilder.erase Created 3 years, 6 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
Index: third_party/WebKit/Source/platform/wtf/text/StringBuilder.h
diff --git a/third_party/WebKit/Source/platform/wtf/text/StringBuilder.h b/third_party/WebKit/Source/platform/wtf/text/StringBuilder.h
index e8e6cf0192b9b6e92557279d5066cb7ab693908a..8fc02831b009a189f921c093a03657364228f5b3 100644
--- a/third_party/WebKit/Source/platform/wtf/text/StringBuilder.h
+++ b/third_party/WebKit/Source/platform/wtf/text/StringBuilder.h
@@ -145,6 +145,8 @@ class WTF_EXPORT StringBuilder {
void AppendNumber(unsigned long long);
void AppendNumber(double, unsigned precision = 6);
+ void erase(unsigned);
+
String ToString();
AtomicString ToAtomicString();
String Substring(unsigned start, unsigned length) const;

Powered by Google App Engine
This is Rietveld 408576698