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

Unified Diff: third_party/WebKit/Source/core/events/InputEvent.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/InputEvent.cpp
diff --git a/third_party/WebKit/Source/core/events/InputEvent.cpp b/third_party/WebKit/Source/core/events/InputEvent.cpp
index 842b79406d5791ed565550c299950e59dc6437d3..800d5d53fb261e7d999d7f0b17ee459c8dfd2805 100644
--- a/third_party/WebKit/Source/core/events/InputEvent.cpp
+++ b/third_party/WebKit/Source/core/events/InputEvent.cpp
@@ -169,7 +169,7 @@ String InputEvent::inputType() const {
StaticRangeVector InputEvent::getTargetRanges() const {
StaticRangeVector staticRanges;
for (const auto& range : m_ranges)
- staticRanges.append(StaticRange::create(
+ staticRanges.push_back(StaticRange::create(
range->ownerDocument(), range->startContainer(), range->startOffset(),
range->endContainer(), range->endOffset()));
return staticRanges;
« no previous file with comments | « third_party/WebKit/Source/core/events/GenericEventQueue.cpp ('k') | third_party/WebKit/Source/core/events/PointerEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698