fixes os version check of vibrancy

This commit is contained in:
gellert 2017-02-18 20:25:03 +01:00
parent 1f75df0253
commit a1ede4a4b0

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];