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

Unified Diff: chrome/browser/ui/cocoa/certificate_viewer_mac.mm

Issue 2366823002: [m54] Fix build breakage from branch commit 50f08e85195bab38b86e0fa116a52cf81d23d12a (Closed)
Patch Set: Created 4 years, 3 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/ui/cocoa/certificate_viewer_mac.mm
diff --git a/chrome/browser/ui/cocoa/certificate_viewer_mac.mm b/chrome/browser/ui/cocoa/certificate_viewer_mac.mm
index ab7ff45584b112ed455b1ad9d530e6a8a6fe23fb..77d739335a0e90fbf528edd9232f99e3c489c18f 100644
--- a/chrome/browser/ui/cocoa/certificate_viewer_mac.mm
+++ b/chrome/browser/ui/cocoa/certificate_viewer_mac.mm
@@ -68,7 +68,7 @@ void MaybeConstrainPanelSizeForSierraBug() {
#endif
// It's also not required when running on El Capitan or earlier.
- if (base::mac::IsAtMostOS10_11() || g_real_certificate_panel_setframe)
+ if (base::mac::IsOSElCapitanOrEarlier() || g_real_certificate_panel_setframe)
return;
const SEL kSetFrame = @selector(setFrame:display:animate:);
« 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