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

Unified Diff: chrome/browser/cocoa/wrench_menu_button_cell.mm

Issue 3046052: [Mac] Do not use |+[NSColor selectedMenuItemColor]| in a gradient due to color space issues. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 4 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/cocoa/wrench_menu_button_cell.mm
diff --git a/chrome/browser/cocoa/wrench_menu_button_cell.mm b/chrome/browser/cocoa/wrench_menu_button_cell.mm
index 61edb5cdc03f96eeb9e8c9159a36f76b81e0237b..0b63143f628cd42bfab8bdde9af143b4d0cf138a 100644
--- a/chrome/browser/cocoa/wrench_menu_button_cell.mm
+++ b/chrome/browser/cocoa/wrench_menu_button_cell.mm
@@ -26,7 +26,7 @@
NSColor* end = [NSColor colorWithDeviceWhite:0.922 alpha:1.0];
if ([self isHighlighted]) {
start = [NSColor colorWithDeviceRed:0.396 green:0.641 blue:0.941 alpha:1.0];
- end = [NSColor selectedMenuItemColor];
+ end = [NSColor colorWithDeviceRed:0.157 green:0.384 blue:0.929 alpha:1.0];
}
scoped_nsobject<NSGradient> gradient(
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698