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

Unified Diff: third_party/WebKit/Source/core/css/resolver/MatchedPropertiesCache.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/resolver/MatchedPropertiesCache.cpp
diff --git a/third_party/WebKit/Source/core/css/resolver/MatchedPropertiesCache.cpp b/third_party/WebKit/Source/core/css/resolver/MatchedPropertiesCache.cpp
index 24855a46543b4436be6492518461c1d8307b67a9..676c213eef5990c0723ef6470f5891d85f84cfb6 100644
--- a/third_party/WebKit/Source/core/css/resolver/MatchedPropertiesCache.cpp
+++ b/third_party/WebKit/Source/core/css/resolver/MatchedPropertiesCache.cpp
@@ -112,7 +112,7 @@ void MatchedPropertiesCache::clearViewportDependent() {
for (const auto& cacheEntry : m_cache) {
CachedMatchedProperties* cacheItem = cacheEntry.value.get();
if (cacheItem->computedStyle->hasViewportUnits())
- toRemove.append(cacheEntry.key);
+ toRemove.push_back(cacheEntry.key);
}
m_cache.removeAll(toRemove);
}

Powered by Google App Engine
This is Rietveld 408576698