nsICSSStyleSheet* oldsheet = NS_STATIC_CAST(nsICSSStyleSheet*, mStyleSheetTable.Put(&key, aStyleSheet)); NS_IF_RELEASE(oldsheet);
mStyleSheetTable.Put(&key, aStyleSheet);
nsXULPrototypeCache::PutStyleSheet(nsICSSStyleSheet* aStyleSheet){    nsresult rv;    nsCOMPtr<nsIURI> uri;    rv = aStyleSheet->GetURL(*getter_AddRefs(uri));    nsIURIKey key(uri);    nsICSSStyleSheet* oldsheet = NS_STATIC_CAST(nsICSSStyleSheet*, mStyleSheetTable.Put(&key, aStyleSheet));    NS_IF_RELEASE(oldsheet);    return NS_OK;}