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

Unified Diff: third_party/WebKit/Source/core/animation/css/CSSAnimations.cpp

Issue 2470233009: WTF/std normalization: replace WTF::Vector::first() with ::front() (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 fd942c0ca814fa5a684cec29291edad7f5f70445..55eb59dcf8000bb3af57908432e94f934ca3af93 100644
--- a/third_party/WebKit/Source/core/animation/css/CSSAnimations.cpp
+++ b/third_party/WebKit/Source/core/animation/css/CSSAnimations.cpp
@@ -169,7 +169,7 @@ static StringKeyframeEffectModel* createKeyframeEffectModel(
keyframes.append(endKeyframe);
}
DCHECK_GE(keyframes.size(), 2U);
- DCHECK(!keyframes.first()->offset());
+ DCHECK(!keyframes.front()->offset());
DCHECK_EQ(keyframes.back()->offset(), 1);
// This is used for use counting neutral keyframes running on the compositor.

Powered by Google App Engine
This is Rietveld 408576698