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

Unified Diff: third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp

Issue 2614033002: Migrate WTF::Vector::append() to ::push_back() [part 11 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/core/page/scrolling/ScrollingCoordinator.cpp
diff --git a/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp b/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp
index 49aa09d6ec0675dc706228616b466c96ab428f5b..91d5b6c4b141539ef8fc1282242d0acf05eb6fbe 100644
--- a/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp
+++ b/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp
@@ -521,9 +521,9 @@ static void makeLayerChildFrameMap(const LocalFrame* currentFrame,
LayerFrameMap::iterator iter = map->find(containingLayer);
if (iter == map->end())
map->add(containingLayer, HeapVector<Member<const LocalFrame>>())
- .storedValue->value.append(toLocalFrame(child));
+ .storedValue->value.push_back(toLocalFrame(child));
else
- iter->value.append(toLocalFrame(child));
+ iter->value.push_back(toLocalFrame(child));
}
}

Powered by Google App Engine
This is Rietveld 408576698