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

Unified Diff: ui/views/cocoa/bridged_native_widget.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/views/cocoa/bridged_native_widget.mm
diff --git a/ui/views/cocoa/bridged_native_widget.mm b/ui/views/cocoa/bridged_native_widget.mm
index 16bf01b7b0360f689e97a2e853376936661a08c3..edd5f7abdb9f010f223beb8e30c0da14111ccbe1 100644
--- a/ui/views/cocoa/bridged_native_widget.mm
+++ b/ui/views/cocoa/bridged_native_widget.mm
@@ -782,7 +782,7 @@ void BridgedNativeWidget::OnSizeChanged() {
// We don't update the window mask during a live resize, instead it is done
// after the resize is completed in viewDidEndLiveResize: in
// BridgedContentView.
- if (base::mac::IsOS10_9() && ![window_ inLiveResize])
+ if (!base::mac::IsAtLeastOS10_10() && ![window_ inLiveResize])
[bridged_view_ updateWindowMask];
}

Powered by Google App Engine
This is Rietveld 408576698