Trying to fix balsa orange. Changing NS_ERROR to NS_WARNING, since event listeners aren't now removed from xul elements when they get removed from document.

This commit is contained in:
Olli.Pettay%helsinki.fi 2006-08-16 11:36:07 +00:00
parent cb9a446581
commit 3284a76cc8

View File

@ -566,7 +566,7 @@ nsXULTooltipListener::FindTooltip(nsIContent* aTarget, nsIContent** aTooltip)
// before we go on, make sure that target node still has a window
nsCOMPtr<nsIDocument> document = aTarget->GetDocument();
if (!document) {
NS_ERROR("Unable to retrieve the tooltip node document.");
NS_WARNING("Unable to retrieve the tooltip node document.");
return NS_ERROR_FAILURE;
}
nsCOMPtr<nsPIDOMWindow> window = document->GetWindow();