| Index: chrome/browser/ui/panels/panel_browser_frame_view.cc
|
| diff --git a/chrome/browser/ui/panels/panel_browser_frame_view.cc b/chrome/browser/ui/panels/panel_browser_frame_view.cc
|
| index ffa5c7ebeab121820d0e767bac675b3ace1ef64a..f5d7b5e4b79f9396e92d642599008b11ff712bed 100644
|
| --- a/chrome/browser/ui/panels/panel_browser_frame_view.cc
|
| +++ b/chrome/browser/ui/panels/panel_browser_frame_view.cc
|
| @@ -574,7 +574,7 @@ bool PanelBrowserFrameView::ShouldTabIconViewAnimate() const {
|
| // This function is queried during the creation of the window as the
|
| // TabIconView we host is initialized, so we need to NULL check the selected
|
| // WebContents because in this condition there is not yet a selected tab.
|
| - WebContents* current_tab = browser_view()->GetSelectedWebContents();
|
| + WebContents* current_tab = browser_view()->GetActiveWebContents();
|
| return current_tab ? current_tab->IsLoading() : false;
|
| }
|
|
|
|
|