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] |