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

Unified Diff: third_party/WebKit/Source/core/editing/serializers/StyledMarkupAccumulator.cpp

Issue 2571953004: Migrate WTF::Vector::append() to ::push_back() [part 5 of N] (Closed)
Patch Set: Created 4 years 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/core/editing/serializers/StyledMarkupAccumulator.cpp
diff --git a/third_party/WebKit/Source/core/editing/serializers/StyledMarkupAccumulator.cpp b/third_party/WebKit/Source/core/editing/serializers/StyledMarkupAccumulator.cpp
index b1dacb40eecfdc52470384a860237ebea8560ba9..17643732edca8673a4c398535ba98906799ed91f 100644
--- a/third_party/WebKit/Source/core/editing/serializers/StyledMarkupAccumulator.cpp
+++ b/third_party/WebKit/Source/core/editing/serializers/StyledMarkupAccumulator.cpp
@@ -181,7 +181,7 @@ void StyledMarkupAccumulator::wrapWithStyleNode(StylePropertySet* style) {
MarkupFormatter::appendAttributeValue(openTag, style->asText(),
m_document->isHTMLDocument());
openTag.append("\">");
- m_reversedPrecedingMarkup.append(openTag.toString());
+ m_reversedPrecedingMarkup.push_back(openTag.toString());
m_result.append("</div>");
}
@@ -229,7 +229,7 @@ bool StyledMarkupAccumulator::shouldAnnotate() const {
}
void StyledMarkupAccumulator::pushMarkup(const String& str) {
- m_reversedPrecedingMarkup.append(str);
+ m_reversedPrecedingMarkup.push_back(str);
}
void StyledMarkupAccumulator::appendInterchangeNewline() {

Powered by Google App Engine
This is Rietveld 408576698