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

Unified Diff: third_party/WebKit/Source/core/paint/BoxBorderPainter.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/paint/BoxBorderPainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/BoxBorderPainter.cpp b/third_party/WebKit/Source/core/paint/BoxBorderPainter.cpp
index aefd5c80ad8fda1c2ffee86a2d210a2cdf6e0693..193907c429d457735e00e8ca8dc6c8e6b439d88b 100644
--- a/third_party/WebKit/Source/core/paint/BoxBorderPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/BoxBorderPainter.cpp
@@ -466,7 +466,7 @@ struct BoxBorderPainter::ComplexBorderInfo {
}
DCHECK(!opacityGroups.isEmpty());
- OpacityGroup& currentGroup = opacityGroups.last();
+ OpacityGroup& currentGroup = opacityGroups.back();
currentGroup.sides.append(side);
currentGroup.edgeFlags |= edgeFlagForSide(side);
}

Powered by Google App Engine
This is Rietveld 408576698