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

Unified Diff: third_party/WebKit/Source/core/events/EventPath.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/events/EventPath.cpp
diff --git a/third_party/WebKit/Source/core/events/EventPath.cpp b/third_party/WebKit/Source/core/events/EventPath.cpp
index 95d95b54c008a82a2a85bba28a3cf1cd6c833505..1c7c68962f1bdf3731c701952bb46d6264e98176 100644
--- a/third_party/WebKit/Source/core/events/EventPath.cpp
+++ b/third_party/WebKit/Source/core/events/EventPath.cpp
@@ -136,7 +136,7 @@ void EventPath::calculatePath() {
}
nodesInPath.append(insertionPoint);
}
- current = insertionPoints.last();
+ current = insertionPoints.back();
continue;
}
if (current->isChildOfV1ShadowHost()) {

Powered by Google App Engine
This is Rietveld 408576698