| 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 87644d08283cf8eb507ede15d6209c55a5aeecc0..b93163c42df9b340a202d3d1e618c1cdf612226a 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();
|
| }
|
|
|