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

Unified Diff: ui/base/cocoa/base_view.mm

Issue 2288003002: Delete IsAtLeastOS10_9() and IsAtMostOS10_9() (Closed)
Patch Set: 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: ui/base/cocoa/base_view.mm
diff --git a/ui/base/cocoa/base_view.mm b/ui/base/cocoa/base_view.mm
index 47ccca96ad6dd866b986183dbbec4db376f85be6..70f47052b4fd509425a0a05a07df9d46c4492335 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::IsOS10_9()) {
+ if (!base::mac::IsAtLeastOS10_10()) {
[self disableTracking];
[self enableTracking];
}

Powered by Google App Engine
This is Rietveld 408576698