Merge pull request #8717 from gerhardberger/vibrancy-version-fix
Fix OS version check of vibrancy
This commit is contained in:
commit
1dd37eaab7
1 changed files with 1 additions and 1 deletions
|
@ -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];
|
||||
|
||||
|
|
Loading…
Reference in a new issue