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

Unified Diff: third_party/WebKit/Source/core/style/QuotesData.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/core/style/QuotesData.cpp
diff --git a/third_party/WebKit/Source/core/style/QuotesData.cpp b/third_party/WebKit/Source/core/style/QuotesData.cpp
index 3a26e4ad34d0dec3519151a6d34d82e52328615b..470dbac98caf02af091bbe76709c00544b68e369 100644
--- a/third_party/WebKit/Source/core/style/QuotesData.cpp
+++ b/third_party/WebKit/Source/core/style/QuotesData.cpp
@@ -42,7 +42,7 @@ const String QuotesData::getOpenQuote(int index) const {
if (!m_quotePairs.size() || index < 0)
return emptyString();
if ((size_t)index >= m_quotePairs.size())
- return m_quotePairs.last().first;
+ return m_quotePairs.back().first;
return m_quotePairs.at(index).first;
}
@@ -51,7 +51,7 @@ const String QuotesData::getCloseQuote(int index) const {
if (!m_quotePairs.size() || index < 0)
return emptyString();
if ((size_t)index >= m_quotePairs.size())
- return m_quotePairs.last().second;
+ return m_quotePairs.back().second;
return m_quotePairs.at(index).second;
}
« no previous file with comments | « third_party/WebKit/Source/core/paint/ObjectPainter.cpp ('k') | third_party/WebKit/Source/core/svg/SVGAnimationElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698