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

Unified Diff: ui/gfx/animation/multi_animation.h

Issue 1710253003: Misc. Tab-related cleanup. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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/multi_animation.h
diff --git a/ui/gfx/animation/multi_animation.h b/ui/gfx/animation/multi_animation.h
index fd28e3864930c4a96fc3f55b283d72e3bf209d94..aec767801bbd74c3c493eea1d7da54b176e5a664 100644
--- a/ui/gfx/animation/multi_animation.h
+++ b/ui/gfx/animation/multi_animation.h
@@ -33,8 +33,9 @@ class GFX_EXPORT MultiAnimation : public Animation {
// for 200ms with a % between .25 and .75 use the following three values: 200,
// 100, 400.
struct Part {
- Part() : time_ms(0), start_time_ms(0), end_time_ms(0), type(Tween::ZERO) {}
- Part(int time_ms, Tween::Type type)
+ Part() : Part(0, Tween::ZERO) {}
+ Part(int time_ms, Tween::Type type) : Part(time_ms, 0, time_ms, type) {}
+ Part(int time_ms, int start_time_ms, int end_time_ms, Tween::Type type)
: time_ms(time_ms),
start_time_ms(0),
end_time_ms(time_ms),

Powered by Google App Engine
This is Rietveld 408576698