diff --git a/mozilla/content/xbl/src/nsXBLPrototypeResources.cpp b/mozilla/content/xbl/src/nsXBLPrototypeResources.cpp index 6d85214befe..8029d336ce1 100644 --- a/mozilla/content/xbl/src/nsXBLPrototypeResources.cpp +++ b/mozilla/content/xbl/src/nsXBLPrototypeResources.cpp @@ -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;