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

Unified Diff: third_party/WebKit/Source/modules/eventsource/EventSourceParser.cpp

Issue 2614663008: Migrate WTF::Vector::append() to ::push_back() [part 13 of N] (Closed)
Patch Set: Created 3 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
Index: third_party/WebKit/Source/modules/eventsource/EventSourceParser.cpp
diff --git a/third_party/WebKit/Source/modules/eventsource/EventSourceParser.cpp b/third_party/WebKit/Source/modules/eventsource/EventSourceParser.cpp
index 4fbad24ac0123b8fd5281ab94020f44bcbef555d..74ec019591a648296372aad38f18dec3cf8b9be8 100644
--- a/third_party/WebKit/Source/modules/eventsource/EventSourceParser.cpp
+++ b/third_party/WebKit/Source/modules/eventsource/EventSourceParser.cpp
@@ -98,7 +98,7 @@ void EventSourceParser::parseLine() {
}
if (fieldName == "data") {
m_data.append(m_line.data() + fieldValueStart, fieldValueSize);
- m_data.append('\n');
+ m_data.push_back('\n');
return;
}
if (fieldName == "id") {

Powered by Google App Engine
This is Rietveld 408576698