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

Unified Diff: third_party/WebKit/Source/core/css/MediaQuery.cpp

Issue 2566403003: Migrate WTF::Vector::append() to ::push_back() [part 3 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/css/MediaQuery.cpp
diff --git a/third_party/WebKit/Source/core/css/MediaQuery.cpp b/third_party/WebKit/Source/core/css/MediaQuery.cpp
index 6a6483ee7b7ccaec11ef140f59dfeb1c967f3e0c..870d5a890807f0e4b73d6ec93995282928fe4b62 100644
--- a/third_party/WebKit/Source/core/css/MediaQuery.cpp
+++ b/third_party/WebKit/Source/core/css/MediaQuery.cpp
@@ -112,7 +112,7 @@ MediaQuery::MediaQuery(const MediaQuery& o)
m_serializationCache(o.m_serializationCache) {
m_expressions.reserveInitialCapacity(o.m_expressions.size());
for (unsigned i = 0; i < o.m_expressions.size(); ++i)
- m_expressions.append(o.m_expressions[i]->copy());
+ m_expressions.push_back(o.m_expressions[i]->copy());
}
MediaQuery::~MediaQuery() {}
« no previous file with comments | « third_party/WebKit/Source/core/css/MediaList.cpp ('k') | third_party/WebKit/Source/core/css/MediaQueryEvaluator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698