Index: third_party/WebKit/Source/wtf/text/StringBuilder.h |
diff --git a/third_party/WebKit/Source/wtf/text/StringBuilder.h b/third_party/WebKit/Source/wtf/text/StringBuilder.h |
index 3b2c36556851c9456079033f7f69041c032140f4..3cc8108b8a3d236e2d9e807d3116343f9d36f34f 100644 |
--- a/third_party/WebKit/Source/wtf/text/StringBuilder.h |
+++ b/third_party/WebKit/Source/wtf/text/StringBuilder.h |
@@ -116,7 +116,6 @@ public: |
return; |
} |
ensureBuffer16(1); |
- m_string = String(); |
m_buffer16->append(c); |
++m_length; |
} |
@@ -128,7 +127,6 @@ public: |
return; |
} |
ensureBuffer8(1); |
- m_string = String(); |
m_buffer8->append(c); |
++m_length; |
} |
@@ -226,7 +224,7 @@ private: |
void createBuffer8(unsigned addedSize); |
void createBuffer16(unsigned addedSize); |
- |
+ void clearBuffer(); |
bool hasBuffer() const { return m_buffer; } |
String m_string; |