Index: chrome/browser/ui/panels/panel_browser_frame_view.cc |
=================================================================== |
--- chrome/browser/ui/panels/panel_browser_frame_view.cc (revision 116109) |
+++ chrome/browser/ui/panels/panel_browser_frame_view.cc (working copy) |
@@ -38,6 +38,8 @@ |
#include "ui/views/painter.h" |
#include "ui/views/widget/widget_delegate.h" |
+using content::WebContents; |
+ |
namespace { |
// The height in pixels of the titlebar. |
@@ -625,7 +627,7 @@ |
// 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* current_tab = browser_view()->GetSelectedWebContents(); |
return current_tab ? current_tab->IsLoading() : false; |
} |