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..ff1b0e84323681e30898df890f53c957cedf328c 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::IsOSMavericksOrEarlier()) { |
tapted
2016/04/25 21:25:46
you could probably drop the `OrEarllier` now - I t
Nico
2016/04/26 14:30:44
Done.
|
[self disableTracking]; |
[self enableTracking]; |
} |