зеркало из https://github.com/mozilla/gecko-dev.git
remove Mac-specific chrome hierarchy hack, now that the Mac is using the new hierarchy. bug 39248. r=hyatt
This commit is contained in:
Родитель
91e4edcef8
Коммит
66e62e50d6
|
@ -450,11 +450,6 @@ nsChromeRegistry::ConvertChromeURL(nsIURI* aChromeURL, char** aResult)
|
|||
if (provider.Equals("skin")) {
|
||||
finalURL = "resource:/chrome/skins/modern/";
|
||||
}
|
||||
#ifdef XP_MAC
|
||||
else {
|
||||
finalURL = "resource:/chrome/";
|
||||
}
|
||||
#else
|
||||
else if (provider.Equals("locale")) {
|
||||
finalURL = "resource:/chrome/locales/en-US/";
|
||||
}
|
||||
|
@ -470,7 +465,6 @@ nsChromeRegistry::ConvertChromeURL(nsIURI* aChromeURL, char** aResult)
|
|||
else {
|
||||
finalURL = "resource:/chrome/packages/core/";
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
finalURL += package;
|
||||
|
|
|
@ -450,11 +450,6 @@ nsChromeRegistry::ConvertChromeURL(nsIURI* aChromeURL, char** aResult)
|
|||
if (provider.Equals("skin")) {
|
||||
finalURL = "resource:/chrome/skins/modern/";
|
||||
}
|
||||
#ifdef XP_MAC
|
||||
else {
|
||||
finalURL = "resource:/chrome/";
|
||||
}
|
||||
#else
|
||||
else if (provider.Equals("locale")) {
|
||||
finalURL = "resource:/chrome/locales/en-US/";
|
||||
}
|
||||
|
@ -470,7 +465,6 @@ nsChromeRegistry::ConvertChromeURL(nsIURI* aChromeURL, char** aResult)
|
|||
else {
|
||||
finalURL = "resource:/chrome/packages/core/";
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
finalURL += package;
|
||||
|
|
Загрузка…
Ссылка в новой задаче