| Index: ui/gfx/animation/tween.cc
|
| diff --git a/ui/gfx/animation/tween.cc b/ui/gfx/animation/tween.cc
|
| index a3415484a75520b82bedaaeb94e43cc38442736a..1cebe30c4ae8b0809f1d738ab1431834af06c1d3 100644
|
| --- a/ui/gfx/animation/tween.cc
|
| +++ b/ui/gfx/animation/tween.cc
|
| @@ -203,4 +203,13 @@ gfx::Transform Tween::TransformValueBetween(
|
| return to_return;
|
| }
|
|
|
| +gfx::SizeF Tween::SizeValueBetween(double value,
|
| + const gfx::SizeF& start_size,
|
| + const gfx::SizeF& target_size) {
|
| + return gfx::SizeF(
|
| + Tween::FloatValueBetween(value, start_size.width(), target_size.width()),
|
| + Tween::FloatValueBetween(value, start_size.height(),
|
| + target_size.height()));
|
| +}
|
| +
|
| } // namespace gfx
|
|
|