diff options
Diffstat (limited to 'ash/system/tray/system_tray_bubble.cc')
-rw-r--r-- | ash/system/tray/system_tray_bubble.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ash/system/tray/system_tray_bubble.cc b/ash/system/tray/system_tray_bubble.cc index aff2719..0059973 100644 --- a/ash/system/tray/system_tray_bubble.cc +++ b/ash/system/tray/system_tray_bubble.cc @@ -165,7 +165,7 @@ void SystemTrayBubble::UpdateView( settings.SetTransitionDuration(swipe_duration); settings.SetTweenType(ui::Tween::EASE_OUT); gfx::Transform transform; - transform.SetTranslateX(layer->bounds().width()); + transform.Translate(layer->bounds().width(), 0.0); layer->SetTransform(transform); } @@ -218,7 +218,7 @@ void SystemTrayBubble::UpdateView( ui::Layer* new_layer = bubble_view_->layer(); gfx::Rect bounds = new_layer->bounds(); gfx::Transform transform; - transform.SetTranslateX(bounds.width()); + transform.Translate(bounds.width(), 0.0); new_layer->SetTransform(transform); { ui::ScopedLayerAnimationSettings settings(new_layer->GetAnimator()); |