зеркало из https://github.com/mozilla/pjs.git
Bug 386283: startup warning at nsChromeRegistry.cpp, line 1249. r=benjamin, sr=biesi
This commit is contained in:
Родитель
1de2304c25
Коммит
8a59b4e577
|
@ -1145,8 +1145,12 @@ nsChromeRegistry::CheckForNewChrome()
|
||||||
|
|
||||||
linstalled->SetNativeLeafName(NS_LITERAL_CSTRING("installed-chrome.txt"));
|
linstalled->SetNativeLeafName(NS_LITERAL_CSTRING("installed-chrome.txt"));
|
||||||
|
|
||||||
|
rv = linstalled->Exists(&exists);
|
||||||
|
NS_ENSURE_SUCCESS(rv, rv);
|
||||||
|
|
||||||
// process installed-chrome.txt into app-chrome.manifest
|
// process installed-chrome.txt into app-chrome.manifest
|
||||||
ProcessNewChromeFile(linstalled, manifestURI);
|
if (exists)
|
||||||
|
ProcessNewChromeFile(linstalled, manifestURI);
|
||||||
}
|
}
|
||||||
|
|
||||||
nsCOMPtr<nsIProperties> dirSvc (do_GetService(NS_DIRECTORY_SERVICE_CONTRACTID));
|
nsCOMPtr<nsIProperties> dirSvc (do_GetService(NS_DIRECTORY_SERVICE_CONTRACTID));
|
||||||
|
|
Загрузка…
Ссылка в новой задаче