mPrototypeTable.Put(&key, aDocument);
nsIXULPrototypeDocument* oldproto = NS_STATIC_CAST(nsIXULPrototypeDocument*, mPrototypeTable.Put(&key, aDocument)); NS_IF_RELEASE(oldproto);
nsXULPrototypeCache::PutPrototype(nsIXULPrototypeDocument* aDocument){    nsresult rv;    nsCOMPtr<nsIURI> uri;    rv = aDocument->GetURI(getter_AddRefs(uri));    nsIURIKey key(uri);    mPrototypeTable.Put(&key, aDocument);    return NS_OK;}