зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1673053 - Remove unnecessary #ifdef, now that we no longer have 32 bit macOS builds. r=haik
Differential Revision: https://phabricator.services.mozilla.com/D94617
This commit is contained in:
Родитель
4e4a9ca261
Коммит
2e46f93110
|
@ -168,12 +168,7 @@ enum { NSVisualEffectMaterialSelection = 4 };
|
|||
}
|
||||
|
||||
static bool ComputeSystemSupportsVibrancy() {
|
||||
#ifdef __x86_64__
|
||||
return NSClassFromString(@"NSAppearance") && NSClassFromString(@"NSVisualEffectView");
|
||||
#else
|
||||
// objc_allocateClassPair doesn't work in 32 bit mode, so turn off vibrancy.
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
|
||||
/* static */ bool VibrancyManager::SystemSupportsVibrancy() {
|
||||
|
|
Загрузка…
Ссылка в новой задаче