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

Unified Diff: third_party/WebKit/Source/core/animation/css/CSSAnimations.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/css/CSSAnimations.cpp
diff --git a/third_party/WebKit/Source/core/animation/css/CSSAnimations.cpp b/third_party/WebKit/Source/core/animation/css/CSSAnimations.cpp
index 6728de8b0b262a4aac054086561869958ab5eea6..31429e97eb6e78b54b51257c5c669aad71aa284c 100644
--- a/third_party/WebKit/Source/core/animation/css/CSSAnimations.cpp
+++ b/third_party/WebKit/Source/core/animation/css/CSSAnimations.cpp
@@ -170,7 +170,7 @@ static StringKeyframeEffectModel* createKeyframeEffectModel(
}
DCHECK_GE(keyframes.size(), 2U);
DCHECK(!keyframes.first()->offset());
- DCHECK_EQ(keyframes.last()->offset(), 1);
+ DCHECK_EQ(keyframes.back()->offset(), 1);
// This is used for use counting neutral keyframes running on the compositor.
PropertySet allProperties;

Powered by Google App Engine
This is Rietveld 408576698