mPendingDatas.Remove(aURL);
mPendingDatas.Remove(&key);
CSSLoaderImpl::StopLoadingSheet(nsIURI* aURL){  NS_ENSURE_TRUE(aURL, NS_ERROR_NULL_POINTER);  if (mLoadingDatas.Count() > 0 || mPendingDatas.Count() > 0) {        SheetLoadData* loadData = nsnull;    mLoadingDatas.Get(aURL, &loadData);    if (!loadData) {      mPendingDatas.Get(aURL, &loadData);      if (loadData) {        // have to remove from mPendingDatas ourselves, since        // SheetComplete won't do that.        mPendingDatas.Remove(aURL);      }    }        if (loadData) {      loadData->mIsCancelled = PR_TRUE;      SheetComplete(loadData, PR_FALSE);    }  }  return NS_OK;}