| Index: chrome/browser/cocoa/bookmarks/bookmark_bar_controller.mm
|
| ===================================================================
|
| --- chrome/browser/cocoa/bookmarks/bookmark_bar_controller.mm (revision 66453)
|
| +++ chrome/browser/cocoa/bookmarks/bookmark_bar_controller.mm (working copy)
|
| @@ -1970,9 +1970,8 @@
|
| #pragma mark BookmarkBarToolbarViewController Protocol
|
|
|
| - (int)currentTabContentsHeight {
|
| - return browser_->GetSelectedTabContents() ?
|
| - browser_->GetSelectedTabContents()->view()->GetContainerSize().height() :
|
| - 0;
|
| + TabContents* tc = browser_->GetSelectedTabContents();
|
| + return tc ? tc->view()->GetContainerSize().height() : 0;
|
| }
|
|
|
| - (ThemeProvider*)themeProvider {
|
|
|