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

Unified Diff: ui/gfx/animation/animation_unittest.cc

Issue 2329633003: Implement progress bar spec (determinate and indeterminate). (Closed)
Patch Set: sky review Created 4 years, 3 months 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: ui/gfx/animation/animation_unittest.cc
diff --git a/ui/gfx/animation/animation_unittest.cc b/ui/gfx/animation/animation_unittest.cc
index 3ee579c42fa6dc6601b440d40c415a2bfe918ec2..4a37234d5e5e5f7ca37df635c980924308f89101 100644
--- a/ui/gfx/animation/animation_unittest.cc
+++ b/ui/gfx/animation/animation_unittest.cc
@@ -28,8 +28,7 @@ namespace {
class RunAnimation : public LinearAnimation {
public:
RunAnimation(int frame_rate, AnimationDelegate* delegate)
- : LinearAnimation(frame_rate, delegate) {
- }
+ : LinearAnimation(delegate, frame_rate) {}
void AnimateToState(double state) override {
EXPECT_LE(0.0, state);

Powered by Google App Engine
This is Rietveld 408576698