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

Unified Diff: third_party/WebKit/Source/core/animation/CompositorAnimations.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/animation/CompositorAnimations.cpp
diff --git a/third_party/WebKit/Source/core/animation/CompositorAnimations.cpp b/third_party/WebKit/Source/core/animation/CompositorAnimations.cpp
index 27d47d07a2aed0353a0f1ebf334a6bc1e46cab6f..964839665561e23674b631873cf98f261135148e 100644
--- a/third_party/WebKit/Source/core/animation/CompositorAnimations.cpp
+++ b/third_party/WebKit/Source/core/animation/CompositorAnimations.cpp
@@ -518,7 +518,7 @@ template <typename PlatformAnimationCurveType>
void addKeyframesToCurve(
PlatformAnimationCurveType& curve,
const AnimatableValuePropertySpecificKeyframeVector& keyframes) {
- auto* lastKeyframe = keyframes.last().get();
+ auto* lastKeyframe = keyframes.back().get();
for (const auto& keyframe : keyframes) {
const TimingFunction* keyframeTimingFunction = 0;
// Ignore timing function of last frame.

Powered by Google App Engine
This is Rietveld 408576698