Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4397)

Unified Diff: chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc

Issue 9015022: Replace most of Browser::GetSelectedTabContents calls into Browser::GetSelectedWebContents. I've ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 8 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc
===================================================================
--- chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc (revision 116109)
+++ chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc (working copy)
@@ -23,6 +23,8 @@
#include "ui/views/widget/widget.h"
#include "ui/views/widget/widget_delegate.h"
+using content::WebContents;
+
namespace {
// The frame border is only visible in restored mode and is hardcoded to 1 px on
@@ -238,8 +240,8 @@
bool AppPanelBrowserFrameView::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;
}
« no previous file with comments | « chrome/browser/ui/views/find_bar_host_interactive_uitest.cc ('k') | chrome/browser/ui/views/frame/browser_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698