Bug 386283: startup warning at nsChromeRegistry.cpp, line 1249. r=benjamin, sr=biesi

This commit is contained in:
dolske%mozilla.com 2007-07-15 01:34:08 +00:00
Родитель 1de2304c25
Коммит 8a59b4e577
1 изменённых файлов: 5 добавлений и 1 удалений

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

@ -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));