Index: chrome/browser/cocoa/browser_window_controller_private.mm |
=================================================================== |
--- chrome/browser/cocoa/browser_window_controller_private.mm (revision 62138) |
+++ chrome/browser/cocoa/browser_window_controller_private.mm (working copy) |
@@ -450,7 +450,9 @@ |
- (BOOL)shouldShowDetachedBookmarkBar { |
DCHECK(browser_.get()); |
TabContents* contents = browser_->GetSelectedTabContents(); |
- return (contents && contents->ShouldShowBookmarkBar()) ? YES : NO; |
+ return (contents && |
+ contents->ShouldShowBookmarkBar() && |
+ ![previewableContentsController_ isShowingPreview]); |
} |
- (void)adjustToolbarAndBookmarkBarForCompression:(CGFloat)compression { |