Bug 628370 patch 1: Downgrade assertion for "Unable to locate an XBL binding", since we hit it under normal conditions and we have code to handle it. r=smaug

This commit is contained in:
Daniel Holbert 2011-04-29 16:56:05 -07:00
Родитель 825e8cd0d1
Коммит ef19c766d3
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -882,7 +882,7 @@ nsXBLService::GetBinding(nsIContent* aBoundElement, nsIURI* aURI,
nsXBLPrototypeBinding* protoBinding = docInfo->GetPrototypeBinding(ref);
NS_ASSERTION(protoBinding, "Unable to locate an XBL binding.");
NS_WARN_IF_FALSE(protoBinding, "Unable to locate an XBL binding");
if (!protoBinding)
return NS_ERROR_FAILURE;