Commit 3284a76c authored by Olli.Pettay%helsinki.fi's avatar Olli.Pettay%helsinki.fi
Browse files

Trying to fix balsa orange. Changing NS_ERROR to NS_WARNING, since event...

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.
parent cb9a4465
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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();