Merge pull request #8717 from gerhardberger/vibrancy-version-fix

Fix OS version check of vibrancy
This commit is contained in:
Kevin Sawicki
2017-02-21 08:45:10 -08:00
committed by GitHub

View File

@@ -1280,7 +1280,7 @@ void NativeWindowMac::SetAutoHideCursor(bool auto_hide) {
}
void NativeWindowMac::SetVibrancy(const std::string& type) {
if (!base::mac::IsOS10_10()) return;
if (!base::mac::IsAtLeastOS10_10()) return;
NSView* vibrant_view = [window_ vibrantView];