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

Unified Diff: third_party/WebKit/Source/core/events/TreeScopeEventContext.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/TreeScopeEventContext.cpp
diff --git a/third_party/WebKit/Source/core/events/TreeScopeEventContext.cpp b/third_party/WebKit/Source/core/events/TreeScopeEventContext.cpp
index 69db49d39d572783a0c8886536329a7991514ea9..2b028dc6eafb40e2d77a345da3caa3a391543bc3 100644
--- a/third_party/WebKit/Source/core/events/TreeScopeEventContext.cpp
+++ b/third_party/WebKit/Source/core/events/TreeScopeEventContext.cpp
@@ -71,10 +71,10 @@ HeapVector<Member<EventTarget>>& TreeScopeEventContext::ensureEventPath(
for (auto& context : path.nodeEventContexts()) {
if (context.treeScopeEventContext().isUnclosedTreeOf(*this))
- m_eventPath->append(context.node());
+ m_eventPath->push_back(context.node());
}
if (window)
- m_eventPath->append(window);
+ m_eventPath->push_back(window);
return *m_eventPath;
}

Powered by Google App Engine
This is Rietveld 408576698