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

Unified Diff: third_party/WebKit/Source/core/editing/serializers/StyledMarkupSerializer.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/editing/serializers/StyledMarkupSerializer.cpp
diff --git a/third_party/WebKit/Source/core/editing/serializers/StyledMarkupSerializer.cpp b/third_party/WebKit/Source/core/editing/serializers/StyledMarkupSerializer.cpp
index 0ed93fc1cf4507cf0598ce8dbcc93cf069c65cc4..e58430eeb63cf05c835f0f3f81621654d45077c1 100644
--- a/third_party/WebKit/Source/core/editing/serializers/StyledMarkupSerializer.cpp
+++ b/third_party/WebKit/Source/core/editing/serializers/StyledMarkupSerializer.cpp
@@ -378,7 +378,7 @@ Node* StyledMarkupTraverser<Strategy>::traverse(Node* startNode,
// Close up the ancestors.
while (!ancestorsToClose.isEmpty()) {
- ContainerNode* ancestor = ancestorsToClose.last();
+ ContainerNode* ancestor = ancestorsToClose.back();
DCHECK(ancestor);
if (next && next != pastEnd && Strategy::isDescendantOf(*next, *ancestor))
break;

Powered by Google App Engine
This is Rietveld 408576698