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

Unified Diff: third_party/WebKit/Source/core/dom/shadow/ElementShadowV0.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/dom/shadow/ElementShadowV0.cpp
diff --git a/third_party/WebKit/Source/core/dom/shadow/ElementShadowV0.cpp b/third_party/WebKit/Source/core/dom/shadow/ElementShadowV0.cpp
index 979dab64a8159512d981f345a6a0ecda62fc76f9..5436c15968ee0bc48c2a0257d8c39ddc09b60ff3 100644
--- a/third_party/WebKit/Source/core/dom/shadow/ElementShadowV0.cpp
+++ b/third_party/WebKit/Source/core/dom/shadow/ElementShadowV0.cpp
@@ -145,7 +145,7 @@ const InsertionPoint* ElementShadowV0::finalDestinationInsertionPointFor(
DCHECK(!key->needsDistributionRecalc());
NodeToDestinationInsertionPoints::const_iterator it =
m_nodeToInsertionPoints.find(key);
- return it == m_nodeToInsertionPoints.end() ? nullptr : it->value->last();
+ return it == m_nodeToInsertionPoints.end() ? nullptr : it->value->back();
}
const DestinationInsertionPoints*

Powered by Google App Engine
This is Rietveld 408576698