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:
Markus Stange 2020-10-23 18:22:45 +00:00
Родитель 4e4a9ca261
Коммит 2e46f93110
1 изменённых файлов: 0 добавлений и 5 удалений

Просмотреть файл

@ -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() {