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

Unified Diff: third_party/WebKit/Source/modules/accessibility/AXMenuListOption.cpp

Issue 2614663008: Migrate WTF::Vector::append() to ::push_back() [part 13 of N] (Closed)
Patch Set: 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/modules/accessibility/AXMenuListOption.cpp
diff --git a/third_party/WebKit/Source/modules/accessibility/AXMenuListOption.cpp b/third_party/WebKit/Source/modules/accessibility/AXMenuListOption.cpp
index 23442905da42a28ccc6636244809181bcda056c7..db27248dfeec9904266e0b304201c2089fb57e33 100644
--- a/third_party/WebKit/Source/modules/accessibility/AXMenuListOption.cpp
+++ b/third_party/WebKit/Source/modules/accessibility/AXMenuListOption.cpp
@@ -149,7 +149,7 @@ String AXMenuListOption::textAlternative(bool recursive,
nameFrom = AXNameFromContents;
textAlternative = m_element->displayLabel();
if (nameSources) {
- nameSources->append(NameSource(foundTextAlternative));
+ nameSources->push_back(NameSource(foundTextAlternative));
nameSources->back().type = nameFrom;
nameSources->back().text = textAlternative;
foundTextAlternative = true;

Powered by Google App Engine
This is Rietveld 408576698