Bug 117386 Crash changing themes [@ nsXBLPrototypeResources::FlushSkinSheets]

r=dbradley sr=brendan


git-svn-id: svn://10.0.0.236/trunk@112322 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
timeless%mac.com
2002-01-16 06:40:47 +00:00
parent 6c65f2a8f3
commit bcd2e1bc81

View File

@@ -137,7 +137,8 @@ nsXBLPrototypeResources::FlushSkinSheets()
if (IsChromeURI(uri)) {
PRBool complete;
loader->LoadAgentSheet(uri, *getter_AddRefs(newSheet), complete, nsnull);
if (NS_FAILED(loader->LoadAgentSheet(uri, *getter_AddRefs(newSheet), complete, nsnull))
continue;
}
else
newSheet = oldSheet;