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

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

Issue 2502413004: WTF/std normalization: replace WTF::Vector::last with ::back (Closed)
Patch Set: rebase Created 4 years, 1 month 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 2dce0c7d4e38db07b290215065824f7379308fa5..23442905da42a28ccc6636244809181bcda056c7 100644
--- a/third_party/WebKit/Source/modules/accessibility/AXMenuListOption.cpp
+++ b/third_party/WebKit/Source/modules/accessibility/AXMenuListOption.cpp
@@ -150,8 +150,8 @@ String AXMenuListOption::textAlternative(bool recursive,
textAlternative = m_element->displayLabel();
if (nameSources) {
nameSources->append(NameSource(foundTextAlternative));
- nameSources->last().type = nameFrom;
- nameSources->last().text = textAlternative;
+ nameSources->back().type = nameFrom;
+ nameSources->back().text = textAlternative;
foundTextAlternative = true;
}

Powered by Google App Engine
This is Rietveld 408576698