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

Unified Diff: chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_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
Index: chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac.mm
diff --git a/chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac.mm b/chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac.mm
index 0d24bd97fa6777ecca4d649d578e920d156812ec..ad7b278ca321f313fa0ede39e1d1c64f1a094b8b 100644
--- a/chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac.mm
+++ b/chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac.mm
@@ -320,7 +320,7 @@ void OmniboxPopupViewMac::PositionPopup(const CGFloat matrixHeight) {
// the window does not get redrawn. Use a completion handler to make sure
// |popup_| gets redrawn once the animation completes. See
// http://crbug.com/538590 and http://crbug.com/551007 .
- if (base::mac::IsOSElCapitanOrLater()) {
+ if (base::mac::IsAtLeastOS10_11()) {
NSWindow* popup = popup_.get();
[[NSAnimationContext currentContext] setCompletionHandler:^{
[popup display];

Powered by Google App Engine
This is Rietveld 408576698