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

Unified Diff: third_party/WebKit/Source/core/html/parser/TextDocumentParser.cpp

Issue 2583233002: Migrate WTF::Vector::append() to ::push_back() [part 7 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/html/parser/TextDocumentParser.cpp
diff --git a/third_party/WebKit/Source/core/html/parser/TextDocumentParser.cpp b/third_party/WebKit/Source/core/html/parser/TextDocumentParser.cpp
index 710add369393c44bab8002a563bea448dd10bb18..f9f95aff0490a74e371bf18c494276b65954a1f8 100644
--- a/third_party/WebKit/Source/core/html/parser/TextDocumentParser.cpp
+++ b/third_party/WebKit/Source/core/html/parser/TextDocumentParser.cpp
@@ -52,7 +52,7 @@ void TextDocumentParser::insertFakePreElement() {
// fake bytes through the front-end of the parser to avoid distrubing the
// line/column number calculations.
Vector<Attribute> attributes;
- attributes.append(
+ attributes.push_back(
Attribute(styleAttr, "word-wrap: break-word; white-space: pre-wrap;"));
AtomicHTMLToken fakePre(HTMLToken::StartTag, preTag.localName(), attributes);
treeBuilder()->constructTree(&fakePre);

Powered by Google App Engine
This is Rietveld 408576698