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

Unified Diff: ui/views/controls/menu/menu_config_mac.mm

Issue 2271653006: base::mac::IsOSSierra() -> base::mac::IsOS10_12(), etc. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Nits Created 4 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 | « ui/views/cocoa/bridged_native_widget.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/menu/menu_config_mac.mm
diff --git a/ui/views/controls/menu/menu_config_mac.mm b/ui/views/controls/menu/menu_config_mac.mm
index 2e00665c377a99439b77eb0c48b184187fd16cf3..fc66f894436da1b5049280ff7dcbb2e07a8db186 100644
--- a/ui/views/controls/menu/menu_config_mac.mm
+++ b/ui/views/controls/menu/menu_config_mac.mm
@@ -31,9 +31,8 @@ void MenuConfig::Init() {
separator_height = 13;
separator_upper_height = 7;
separator_lower_height = 6;
- separator_thickness = base::mac::IsOSMavericks()
- ? kMenuSeparatorHeightMavericks
- : kMenuSeparatorHeight;
+ separator_thickness = base::mac::IsOS10_9() ? kMenuSeparatorHeightMavericks
+ : kMenuSeparatorHeight;
align_arrow_and_shortcut = true;
icons_in_label = true;
check_selected_combobox_item = true;
« no previous file with comments | « ui/views/cocoa/bridged_native_widget.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698