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

Unified Diff: Source/core/dom/CharacterData.cpp

Issue 137293005: One more instance of StringBuilder::Append replacing String::Append. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 11 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 | « Source/core/css/MediaList.cpp ('k') | Source/core/fetch/CSSStyleSheetResource.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/CharacterData.cpp
diff --git a/Source/core/dom/CharacterData.cpp b/Source/core/dom/CharacterData.cpp
index d0344f255cd4ef2439a1fe46a54527ea67f6a648..2eecf98a3ba54140fd425081db25c8a1663a3824 100644
--- a/Source/core/dom/CharacterData.cpp
+++ b/Source/core/dom/CharacterData.cpp
@@ -70,7 +70,7 @@ String CharacterData::substringData(unsigned offset, unsigned count, ExceptionSt
void CharacterData::parserAppendData(const String& string)
{
unsigned oldLength = m_data.length();
- m_data.append(string);
+ m_data = m_data + string;
ASSERT(!renderer() || isTextNode());
if (isTextNode())
« no previous file with comments | « Source/core/css/MediaList.cpp ('k') | Source/core/fetch/CSSStyleSheetResource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698