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

Unified Diff: third_party/WebKit/Source/core/events/TreeScopeEventContext.h

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.h
diff --git a/third_party/WebKit/Source/core/events/TreeScopeEventContext.h b/third_party/WebKit/Source/core/events/TreeScopeEventContext.h
index eb37b802f0a2070682dbbd764c13dbd2d241cbcc..cf084ba1fff3a519cdcc33f748e07a08dd22b087 100644
--- a/third_party/WebKit/Source/core/events/TreeScopeEventContext.h
+++ b/third_party/WebKit/Source/core/events/TreeScopeEventContext.h
@@ -71,7 +71,7 @@ class CORE_EXPORT TreeScopeEventContext final
#if DCHECK_IS_ON()
bool isExclusivePartOf(const TreeScopeEventContext&) const;
#endif
- void addChild(TreeScopeEventContext& child) { m_children.append(&child); }
+ void addChild(TreeScopeEventContext& child) { m_children.push_back(&child); }
// For ancestor-descendant relationship check in O(1).
// Preprocessing takes O(N).

Powered by Google App Engine
This is Rietveld 408576698