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

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

Issue 1917973002: mac: Remove IsOSLion(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tapted Created 4 years, 8 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/app_list/cocoa/scroll_view_with_no_scrollbars.mm ('k') | ui/base/resource/resource_bundle.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 9642fbe1a81f3b8bf64a6853ab441af32c30194c..ef3eb87f7917d20ce91181ac7f411efb87a9ecb0 100644
--- a/ui/base/cocoa/base_view.mm
+++ b/ui/base/cocoa/base_view.mm
@@ -60,8 +60,8 @@ NSString* kSelectionDirection = @"Chromium.kSelectionDirection";
// http://crbug.com/176725 / http://openradar.appspot.com/radar?id=2773401 .
// 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.7 to 10.9.
- if (base::mac::IsOSMavericksOrEarlier() && base::mac::IsOSLionOrLater()) {
+ // 10.9.
+ if (base::mac::IsOSMavericks()) {
[self disableTracking];
[self enableTracking];
}
« no previous file with comments | « ui/app_list/cocoa/scroll_view_with_no_scrollbars.mm ('k') | ui/base/resource/resource_bundle.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698