| Index: chrome/browser/ui/views/new_back_shortcut_bubble.cc
|
| diff --git a/chrome/browser/ui/views/new_back_shortcut_bubble.cc b/chrome/browser/ui/views/new_back_shortcut_bubble.cc
|
| index c43d3f46e3feee4597459bc9ccd1ece0f25df03a..a709cb402037b1a398a0bf5893ce9237092085bc 100644
|
| --- a/chrome/browser/ui/views/new_back_shortcut_bubble.cc
|
| +++ b/chrome/browser/ui/views/new_back_shortcut_bubble.cc
|
| @@ -85,7 +85,7 @@ void NewBackShortcutBubble::UpdateContent(bool forward) {
|
|
|
| void NewBackShortcutBubble::AnimationProgressed(
|
| const gfx::Animation* animation) {
|
| - int opacity = animation_->CurrentValueBetween(0, 255);
|
| + float opacity = static_cast<float>(animation_->CurrentValueBetween(0.0, 1.0));
|
| if (opacity == 0) {
|
| popup_->Hide();
|
| } else {
|
|
|