summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/bookmark_bar_view.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/views/bookmark_bar_view.cc')
-rw-r--r--chrome/browser/views/bookmark_bar_view.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/views/bookmark_bar_view.cc b/chrome/browser/views/bookmark_bar_view.cc
index 586422a..fd9282a 100644
--- a/chrome/browser/views/bookmark_bar_view.cc
+++ b/chrome/browser/views/bookmark_bar_view.cc
@@ -753,7 +753,7 @@ bool BookmarkBarView::IsAlwaysShown() const {
bool BookmarkBarView::OnNewTabPage() const {
return (browser_ && browser_->GetSelectedTabContents() &&
- browser_->GetSelectedTabContents()->IsBookmarkBarAlwaysVisible());
+ browser_->GetSelectedTabContents()->ShouldShowBookmarkBar());
}
int BookmarkBarView::GetToolbarOverlap(bool return_max) {