Index: chrome/browser/ui/views/frame/browser_view.cc |
diff --git a/chrome/browser/ui/views/frame/browser_view.cc b/chrome/browser/ui/views/frame/browser_view.cc |
index c75bcc68df0366df940e2b8a0ed9b782b2f21c7a..a6fb085102bfbd3972903b8b59fbd73435136ff4 100644 |
--- a/chrome/browser/ui/views/frame/browser_view.cc |
+++ b/chrome/browser/ui/views/frame/browser_view.cc |
@@ -2170,7 +2170,7 @@ ContentsLayoutManager* BrowserView::GetContentsLayoutManager() const { |
} |
bool BrowserView::MaybeShowBookmarkBar(WebContents* contents) { |
- bool show_bookmark_bar = contents && |
+ bool show_bookmark_bar = |
browser_->SupportsWindowFeature(Browser::FEATURE_BOOKMARKBAR); |
if (!show_bookmark_bar && !bookmark_bar_view_.get()) |
return false; |