Index: chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm |
=================================================================== |
--- chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm (revision 116109) |
+++ chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm (working copy) |
@@ -56,6 +56,7 @@ |
using content::OpenURLParams; |
using content::Referrer; |
using content::UserMetricsAction; |
+using content::WebContents; |
// Bookmark bar state changing and animations |
// |
@@ -2283,8 +2284,8 @@ |
#pragma mark BookmarkBarToolbarViewController Protocol |
- (int)currentTabContentsHeight { |
- TabContents* tc = browser_->GetSelectedTabContents(); |
- return tc ? tc->GetView()->GetContainerSize().height() : 0; |
+ WebContents* wc = browser_->GetSelectedWebContents(); |
+ return wc ? wc->GetView()->GetContainerSize().height() : 0; |
} |
- (ui::ThemeProvider*)themeProvider { |