| Index: chrome/browser/ui/views/tabs/tab.cc
|
| diff --git a/chrome/browser/ui/views/tabs/tab.cc b/chrome/browser/ui/views/tabs/tab.cc
|
| index 33625dbc732997a32d12734db6ccefba91388e57..5944a8447b2b46b7a2e9da710f902951060ebd14 100644
|
| --- a/chrome/browser/ui/views/tabs/tab.cc
|
| +++ b/chrome/browser/ui/views/tabs/tab.cc
|
| @@ -1426,16 +1426,18 @@ void Tab::PaintIcon(gfx::Canvas* canvas) {
|
| data().favicon.width(),
|
| data().favicon.height(),
|
| bounds, true, SkPaint());
|
| + } else if (!icon_animation_ && tab_audio_indicator_->IsAnimating()) {
|
| + // Draw the audio indicator UI only if no other icon animation is
|
| + // active.
|
| + if (!icon_animation_ && tab_audio_indicator_->IsAnimating()) {
|
| + tab_audio_indicator_->set_favicon(data().favicon);
|
| + tab_audio_indicator_->Paint(canvas, bounds);
|
| + }
|
| } else {
|
| DrawIconCenter(canvas, data().favicon, 0,
|
| data().favicon.width(),
|
| data().favicon.height(),
|
| bounds, true, SkPaint());
|
| -
|
| - // Draw the audio indicator UI only if no other icon animation is
|
| - // active.
|
| - if (!icon_animation_ && tab_audio_indicator_->IsAnimating())
|
| - tab_audio_indicator_->Paint(canvas, bounds);
|
| }
|
| }
|
| }
|
|
|