| Index: chrome/browser/ui/views/frame/opaque_browser_frame_view.cc
|
| ===================================================================
|
| --- chrome/browser/ui/views/frame/opaque_browser_frame_view.cc (revision 116109)
|
| +++ chrome/browser/ui/views/frame/opaque_browser_frame_view.cc (working copy)
|
| @@ -50,6 +50,8 @@
|
| #include "chrome/browser/ui/virtual_keyboard/virtual_keyboard_manager.h"
|
| #endif
|
|
|
| +using content::WebContents;
|
| +
|
| namespace {
|
|
|
| // The frame border is only visible in restored mode and is hardcoded to 4 px on
|
| @@ -469,8 +471,8 @@
|
| bool OpaqueBrowserFrameView::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
|
| - // TabContents because in this condition there is not yet a selected tab.
|
| - TabContents* current_tab = browser_view()->GetSelectedTabContents();
|
| + // WebContents because in this condition there is not yet a selected tab.
|
| + WebContents* current_tab = browser_view()->GetSelectedWebContents();
|
| return current_tab ? current_tab->IsLoading() : false;
|
| }
|
|
|
|
|