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

Unified Diff: chrome/browser/ui/cocoa/location_bar/autocomplete_text_field.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
Index: chrome/browser/ui/cocoa/location_bar/autocomplete_text_field.mm
diff --git a/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field.mm b/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field.mm
index 9253c07338e08f3dde7b6ecfd82c55a191dcd964..3b227f8bdecad182ef65e690c9565ee36011aa79 100644
--- a/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field.mm
+++ b/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field.mm
@@ -52,7 +52,7 @@ const CGFloat kAnimationDuration = 0.2;
// Also, because NSPressureConfiguration is not in the original 10.10 SDK,
// use NSClassFromString() to instantiate it (otherwise there's a
// linker error).
- if (base::mac::IsOSYosemiteOrLater() &&
+ if (base::mac::IsAtLeastOS10_10() &&
[self respondsToSelector:@selector(setPressureConfiguration:)]) {
NSPressureConfiguration* pressureConfiguration =
[[[NSClassFromString(@"NSPressureConfiguration") alloc]
« no previous file with comments | « chrome/browser/ui/cocoa/custom_frame_view_unittest.mm ('k') | chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698