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

Unified Diff: third_party/WebKit/Source/core/input/PointerEventManager.cpp

Issue 2617783002: Migrate WTF::Vector::append() to ::push_back() [part 12 of N] (Closed)
Patch Set: rebase 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/input/PointerEventManager.cpp
diff --git a/third_party/WebKit/Source/core/input/PointerEventManager.cpp b/third_party/WebKit/Source/core/input/PointerEventManager.cpp
index f4cf8f7fc252aa25d9eb4ea8a5f04e2a71dbb0b5..5fda74694a4665f5ad226643ee8da6c05fb57af7 100644
--- a/third_party/WebKit/Source/core/input/PointerEventManager.cpp
+++ b/third_party/WebKit/Source/core/input/PointerEventManager.cpp
@@ -40,7 +40,7 @@ Vector<PlatformTouchPoint> getCoalescedPoints(
for (auto& point : touchEvent.touchPoints()) {
// TODO(nzolghadr): Need to filter out stationary points
if (point.id() == id)
- relatedPoints.append(point);
+ relatedPoints.push_back(point);
}
}
return relatedPoints;
@@ -366,7 +366,7 @@ void PointerEventManager::computeTouchTargets(
touchInfo.targetFrame = touchInfo.touchNode->document().frame();
}
- touchInfos.append(touchInfo);
+ touchInfos.push_back(touchInfo);
}
}
« no previous file with comments | « third_party/WebKit/Source/core/input/EventHandler.cpp ('k') | third_party/WebKit/Source/core/loader/DocumentLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698