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

Unified Diff: third_party/WebKit/Source/core/dom/CSSSelectorWatchTest.cpp

Issue 2574773002: Migrate WTF::Vector::append() to ::push_back() [part 4 of N] (Closed)
Patch Set: rebase 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/dom/CSSSelectorWatchTest.cpp
diff --git a/third_party/WebKit/Source/core/dom/CSSSelectorWatchTest.cpp b/third_party/WebKit/Source/core/dom/CSSSelectorWatchTest.cpp
index a41745bef86d4a6ac35b53d88d8a686ab4188c3d..e94963dbbb11e30338403d25d792ee77c086f059 100644
--- a/third_party/WebKit/Source/core/dom/CSSSelectorWatchTest.cpp
+++ b/third_party/WebKit/Source/core/dom/CSSSelectorWatchTest.cpp
@@ -53,15 +53,15 @@ TEST_F(CSSSelectorWatchTest, RecalcOnDocumentChange) {
CSSSelectorWatch& watch = CSSSelectorWatch::from(document());
Vector<String> selectors;
- selectors.append(".a");
+ selectors.push_back(".a");
watch.watchCSSSelectors(selectors);
document().view()->updateAllLifecyclePhases();
selectors.clear();
- selectors.append(".b");
- selectors.append(".c");
- selectors.append("#nomatch");
+ selectors.push_back(".b");
+ selectors.push_back(".c");
+ selectors.push_back("#nomatch");
watch.watchCSSSelectors(selectors);
document().view()->updateAllLifecyclePhases();
« no previous file with comments | « third_party/WebKit/Source/core/dom/CSSSelectorWatch.cpp ('k') | third_party/WebKit/Source/core/dom/ChildFrameDisconnector.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698