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

Unified Diff: third_party/WebKit/Source/core/dom/shadow/DistributedNodes.h

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/dom/shadow/DistributedNodes.h
diff --git a/third_party/WebKit/Source/core/dom/shadow/DistributedNodes.h b/third_party/WebKit/Source/core/dom/shadow/DistributedNodes.h
index 1faaa7e983c3256f5ca8544ff7eb8feb75b8b13c..aeee19d2250acdc3d57b9ee6e3035e8944793b55 100644
--- a/third_party/WebKit/Source/core/dom/shadow/DistributedNodes.h
+++ b/third_party/WebKit/Source/core/dom/shadow/DistributedNodes.h
@@ -44,7 +44,7 @@ class DistributedNodes final {
DistributedNodes() {}
Node* first() const { return m_nodes.first(); }
- Node* last() const { return m_nodes.last(); }
+ Node* last() const { return m_nodes.back(); }
Node* at(size_t index) const { return m_nodes.at(index); }
size_t size() const { return m_nodes.size(); }

Powered by Google App Engine
This is Rietveld 408576698