nsCOMPtr<nsIStreamListener> finalStreamListener = do_QueryReferent(mWeakPtrPluginStreamListenerPeer); if (!finalStreamListener)
if(mAbort) { PRUint32 magicNumber = 0; nsCOMPtr<nsISupportsPRUint32> container = do_QueryInterface(aContext); if (container) container->GetData(&magicNumber);  if (magicNumber != MAGIC_REQUEST_CONTEXT) {  mAbort = PR_FALSE; return NS_BINDING_ABORTED; } }  nsresult rv = NS_OK;  if(!mPStreamListener || !mPluginStreamInfo)
nsPluginByteRangeStreamListener::OnDataAvailable(nsIRequest *request, nsISupports *ctxt,                                nsIInputStream *inStr, PRUint32 sourceOffset, PRUint32 count){  if (!mStreamConverter)    return NS_ERROR_FAILURE;    nsCOMPtr<nsIStreamListener> finalStreamListener = do_QueryReferent(mWeakPtrPluginStreamListenerPeer);  if (!finalStreamListener)    return NS_ERROR_FAILURE;        return mStreamConverter->OnDataAvailable(request, ctxt, inStr, sourceOffset, count);}