Bug 1189918 - Theme overrides should work in safe mode for comm-central applications too. r=bsmedberg

--HG--
extra : transplant_source : %FB%FE%12%D4V%F2%DB5%25%C2v7%D8%2A%C4%20%B2%23%D6%85
This commit is contained in:
Philip Chee 2015-10-25 01:00:03 +08:00
Родитель 97a0467027
Коммит caeb9c08d9
1 изменённых файлов: 4 добавлений и 1 удалений

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

@ -649,7 +649,10 @@ nsXREDirProvider::LoadExtensionBundleDirectories()
NS_EXTENSION_LOCATION);
LoadExtensionDirectories(parser, "ThemeDirs", mThemeDirectories,
NS_SKIN_LOCATION);
#ifdef MOZ_BUILD_APP_IS_BROWSER
/* non-Firefox applications that use overrides in their default theme should
* define AC_DEFINE(MOZ_SEPARATE_MANIFEST_FOR_THEME_OVERRIDES) in their
* configure.in */
#if defined(MOZ_BUILD_APP_IS_BROWSER) || defined(MOZ_SEPARATE_MANIFEST_FOR_THEME_OVERRIDES)
} else {
// In safe mode, still load the default theme directory:
nsCOMPtr<nsIFile> themeManifest;