rv = mDocument->GetDocumentLoadGroup(getter_AddRefs(loadGroup));
loadGroup = mDocument->GetDocumentLoadGroup();
HTMLContentSink::RemoveDummyParserRequest(void){  nsresult rv = NS_OK;  nsCOMPtr<nsILoadGroup> loadGroup;  if (mDocument) {    rv = mDocument->GetDocumentLoadGroup(getter_AddRefs(loadGroup));  }  if (loadGroup && mDummyParserRequest) {    rv = loadGroup->RemoveRequest(mDummyParserRequest, nsnull, NS_OK);    if (NS_FAILED(rv)) {      return rv;    }    mDummyParserRequest = nsnull;  }  return rv;}