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

Unified Diff: ui/base/cocoa/base_view.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/base/cocoa/appkit_utils.mm ('k') | ui/gfx/mac/io_surface.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/cocoa/base_view.mm
diff --git a/ui/base/cocoa/base_view.mm b/ui/base/cocoa/base_view.mm
index ef3eb87f7917d20ce91181ac7f411efb87a9ecb0..47ccca96ad6dd866b986183dbbec4db376f85be6 100644
--- a/ui/base/cocoa/base_view.mm
+++ b/ui/base/cocoa/base_view.mm
@@ -61,7 +61,7 @@ NSString* kSelectionDirection = @"Chromium.kSelectionDirection";
// Work around it by reinstalling the tracking area after window resize.
// This AppKit bug is fixed on Yosemite, so we only apply this workaround on
// 10.9.
- if (base::mac::IsOSMavericks()) {
+ if (base::mac::IsOS10_9()) {
[self disableTracking];
[self enableTracking];
}
« no previous file with comments | « ui/base/cocoa/appkit_utils.mm ('k') | ui/gfx/mac/io_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698