Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5675)

Unified Diff: chrome/browser/ui/cocoa/background_gradient_view.mm

Issue 11876036: Alternate NTP: Don't hide bookmark bar on instant (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: " Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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];
}

Powered by Google App Engine
This is Rietveld 408576698