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

Unified Diff: third_party/WebKit/Source/core/events/PointerEventFactory.cpp

Issue 2585283002: Migrate WTF::Vector::append() to ::push_back() [part 6 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/events/PointerEventFactory.cpp
diff --git a/third_party/WebKit/Source/core/events/PointerEventFactory.cpp b/third_party/WebKit/Source/core/events/PointerEventFactory.cpp
index d8bfe925219d144ef4b762739a5b03b819998988..7900cf790b6d9a49dd6c4abc76f3439811ce9514 100644
--- a/third_party/WebKit/Source/core/events/PointerEventFactory.cpp
+++ b/third_party/WebKit/Source/core/events/PointerEventFactory.cpp
@@ -268,7 +268,7 @@ PointerEvent* PointerEventFactory::create(
coalescedMouseEvent.pointerProperties().pointerType);
PointerEventInit coalescedEventInit = pointerEventInit;
updateMousePointerEventInit(coalescedMouseEvent, view, &coalescedEventInit);
- coalescedPointerEvents.append(
+ coalescedPointerEvents.push_back(
PointerEvent::create(pointerEventName, coalescedEventInit));
}
pointerEventInit.setCoalescedEvents(coalescedPointerEvents);
@@ -321,7 +321,7 @@ PointerEvent* PointerEventFactory::create(
PointerEventInit coalescedEventInit = pointerEventInit;
updateTouchPointerEventInit(coalescedTouchPoint, targetFrame,
&coalescedEventInit);
- coalescedPointerEvents.append(
+ coalescedPointerEvents.push_back(
PointerEvent::create(type, coalescedEventInit));
}
pointerEventInit.setCoalescedEvents(coalescedPointerEvents);
@@ -477,7 +477,7 @@ Vector<int> PointerEventFactory::getPointerIdsOfType(
++iter) {
int mappedId = iter->key;
if (iter->value.incomingId.pointerType() == pointerType)
- mappedIds.append(mappedId);
+ mappedIds.push_back(mappedId);
}
// Sorting for a predictable ordering.

Powered by Google App Engine
This is Rietveld 408576698