| Index: chrome/browser/cocoa/bookmark_bar_controller.mm
|
| diff --git a/chrome/browser/cocoa/bookmark_bar_controller.mm b/chrome/browser/cocoa/bookmark_bar_controller.mm
|
| index 3f92b6e1289016694dc7269209c359df5ad5c6f0..a46584f26337f3586ca784d566b69099e7c8eb6c 100644
|
| --- a/chrome/browser/cocoa/bookmark_bar_controller.mm
|
| +++ b/chrome/browser/cocoa/bookmark_bar_controller.mm
|
| @@ -452,8 +452,10 @@ const NSTimeInterval kBookmarkBarAnimationDuration = 0.12;
|
| }
|
|
|
| - (void)setBookmarkBarEnabled:(BOOL)enabled {
|
| - barIsEnabled_ = enabled;
|
| - [self updateVisibility];
|
| + if (enabled != barIsEnabled_) {
|
| + barIsEnabled_ = enabled;
|
| + [self updateVisibility];
|
| + }
|
| }
|
|
|
| - (CGFloat)getDesiredToolbarHeightCompression {
|
|
|