NS_IMETHODIMP nsBulletListener::OnDataAvailable(imgIRequest *aRequest, nsISupports *aContext, gfxIImageFrame *aFrame, const nsRect *aRect)
NS_IMETHODIMP nsBulletListener::OnDataAvailable(imgIRequest *aRequest, gfxIImageFrame *aFrame, const nsRect *aRect)
NS_IMETHODIMP nsBulletListener::OnDataAvailable(imgIRequest *aRequest, nsISupports *aContext, gfxIImageFrame *aFrame, const nsRect *aRect){  if (!mFrame)    return NS_ERROR_FAILURE;  nsCOMPtr<nsIPresContext> pc(do_QueryInterface(aContext));  NS_ASSERTION(pc, "not a pres context!");  return mFrame->OnDataAvailable(aRequest, pc, aFrame, aRect);}