| Index: ash/system/tray/tray_item_view.cc
|
| diff --git a/ash/system/tray/tray_item_view.cc b/ash/system/tray/tray_item_view.cc
|
| index 23f0d53d62b00f22bbdf4a0dd311b726107e7cac..4d2da0f596a2da05693f9622ca8e1ff0c8e85316 100644
|
| --- a/ash/system/tray/tray_item_view.cc
|
| +++ b/ash/system/tray/tray_item_view.cc
|
| @@ -95,10 +95,10 @@ void TrayItemView::ChildPreferredSizeChanged(views::View* child) {
|
|
|
| void TrayItemView::AnimationProgressed(const ui::Animation* animation) {
|
| gfx::Transform transform;
|
| - transform.SetScale(animation->GetCurrentValue(),
|
| - animation->GetCurrentValue());
|
| - transform.ConcatTranslate(0, animation->CurrentValueBetween(
|
| + transform.Translate(0, animation->CurrentValueBetween(
|
| static_cast<double>(height()) / 2, 0.));
|
| + transform.Scale(animation->GetCurrentValue(),
|
| + animation->GetCurrentValue());
|
| layer()->SetTransform(transform);
|
| PreferredSizeChanged();
|
| }
|
|
|