nsIUnicharInputStream* aIn, const nsString& aTitle, const nsString& aMedia, PRInt32 aDefaultNameSpaceID, PRInt32 aDocIndex,
nsIUnicharInputStream* aStream, const nsAString& aTitle, const nsAString& aMedia,
CSSLoaderImpl::LoadInlineStyle(nsIContent* aElement,                               nsIUnicharInputStream* aIn,                                const nsString& aTitle,                                const nsString& aMedia,                                PRInt32 aDefaultNameSpaceID,                               PRInt32 aDocIndex,                               nsIParser* aParserToUnblock,                               PRBool& aCompleted){  NS_ASSERTION(mDocument, "not initialized");  if (! mDocument) {    return NS_ERROR_NOT_INITIALIZED;  }  // XXX need to add code to cancel any pending sheets for element  nsresult result = NS_ERROR_NULL_POINTER;  if (aIn) {    nsIURL* docURL;    mDocument->GetBaseURL(docURL);    SheetLoadData* data = new SheetLoadData(this, docURL, aTitle, aMedia, aDefaultNameSpaceID,                                            aElement,                                            aDocIndex, aParserToUnblock,                                            PR_TRUE);    nsICSSStyleSheet* sheet;    result = ParseSheet(aIn, data, aCompleted, sheet);    NS_IF_RELEASE(sheet);    if ((! aCompleted) && (aParserToUnblock)) {      data->mDidBlockParser = PR_TRUE;    }    NS_RELEASE(docURL);  }  return result;}