Bug 222542 - delayed profile install fails. This landed for seamonkey 10/21/03 but never got ported, a=pch

This commit is contained in:
bsmedberg%covad.net 2004-01-31 04:48:33 +00:00
parent 595ae8f4b4
commit 77a2a9ab41

View File

@ -3361,8 +3361,14 @@ nsChromeRegistry::ProcessNewChromeBuffer(char *aBuffer, PRInt32 aLength)
*++aBuffer = '\0';
// process the parsed line
isProfile = profile.Equals(chromeProfile);
isSelection = select.Equals(chromeLocType);
isProfile = profile.Equals(chromeProfile);
if (isProfile && !mProfileInitialized)
{ // load profile chrome.rdf only if needed
rv = LoadProfileDataSource();
if (NS_FAILED(rv))
return rv;
}
if (path.Equals(chromeLocType)) {
// location is a (full) path. convert it to an URL.