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

Unified Diff: third_party/WebKit/Source/core/timing/PerformanceUserTiming.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/timing/PerformanceUserTiming.cpp
diff --git a/third_party/WebKit/Source/core/timing/PerformanceUserTiming.cpp b/third_party/WebKit/Source/core/timing/PerformanceUserTiming.cpp
index 7146f3012d2e04e30296ccef75f8a2aaf9589aca..b4c66c7656d7a6d30dd092a6c111e70f1bd587d7 100644
--- a/third_party/WebKit/Source/core/timing/PerformanceUserTiming.cpp
+++ b/third_party/WebKit/Source/core/timing/PerformanceUserTiming.cpp
@@ -131,7 +131,7 @@ void UserTiming::clearMarks(const String& markName) {
double UserTiming::findExistingMarkStartTime(const String& markName,
ExceptionState& exceptionState) {
if (m_marksMap.contains(markName))
- return m_marksMap.get(markName).last()->startTime();
+ return m_marksMap.get(markName).back()->startTime();
if (restrictedKeyMap().contains(markName) && m_performance->timing()) {
double value = static_cast<double>(

Powered by Google App Engine
This is Rietveld 408576698