mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-05 22:05:40 +00:00
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:
parent
cb9a446581
commit
3284a76cc8
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user