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

Unified Diff: third_party/WebKit/Source/web/WebDocument.cpp

Issue 2612903007: Migrate WTF::Vector::append() to ::push_back() [part 15 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/web/WebDocument.cpp
diff --git a/third_party/WebKit/Source/web/WebDocument.cpp b/third_party/WebKit/Source/web/WebDocument.cpp
index 26f088f28b54f3237bcfe5ef412fc80c929e0bd1..9ccdab7054afa2e9233b855efea3dbb26a82eff5 100644
--- a/third_party/WebKit/Source/web/WebDocument.cpp
+++ b/third_party/WebKit/Source/web/WebDocument.cpp
@@ -165,7 +165,7 @@ void WebDocument::forms(WebVector<WebFormElement>& results) const {
Element* element = forms->item(i);
// Strange but true, sometimes node can be 0.
if (element && element->isHTMLElement())
- temp.append(WebFormElement(toHTMLFormElement(element)));
+ temp.push_back(WebFormElement(toHTMLFormElement(element)));
}
results.assign(temp);
}
« no previous file with comments | « third_party/WebKit/Source/web/WebDOMActivityLogger.cpp ('k') | third_party/WebKit/Source/web/WebFileChooserCompletionImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698