Index: chrome/browser/ui/cocoa/background_gradient_view.mm |
diff --git a/chrome/browser/ui/cocoa/background_gradient_view.mm b/chrome/browser/ui/cocoa/background_gradient_view.mm |
index aeaf21c5fbd51c4536ae0ec96bae516be9cfb3d3..db2a3ecabd474e2ab1de4ef3f5885867e178266d 100644 |
--- a/chrome/browser/ui/cocoa/background_gradient_view.mm |
+++ b/chrome/browser/ui/cocoa/background_gradient_view.mm |
@@ -31,6 +31,8 @@ |
} |
- (void)setShowsDivider:(BOOL)show { |
+ if (showsDivider_ == show) |
+ return; |
showsDivider_ = show; |
[self setNeedsDisplay:YES]; |
} |