return mNextListener->OnDataAvailable(aChannel, aContext, aInStream, aOffset, aCount);
nsresult rv;  nsCOMPtr<nsIURI> aURL; rv = channel->GetURI(getter_AddRefs(aURL)); if (NS_FAILED(rv)) return rv;  #if defined(DEBUG) char* spec; (void)aURL->GetSpec(&spec);  PR_LOG(gDocLoaderLog, PR_LOG_DEBUG, ("DocumentBindInfo:%p: OnDataAvailable(...) called for %s.  Bytes available: %d.\n", this, spec, aLength)); nsCRT::free(spec); #endif   if (nsnull != m_NextStream) {  nsIStreamListener* listener = m_NextStream;  NS_ADDREF(listener); rv = listener->OnDataAvailable(channel, ctxt, aStream, sourceOffset, aLength); NS_RELEASE(listener); } else { rv = NS_BINDING_FAILED; }  return rv;
nsChannelListener::OnDataAvailable(nsIChannel *aChannel, nsISupports *aContext,                                   nsIInputStream *aInStream, PRUint32 aOffset,                                   PRUint32 aCount){  return mNextListener->OnDataAvailable(aChannel, aContext, aInStream,                                         aOffset, aCount);}