DOMMediaListImpl::Delete(const nsString& aOldMedium)
DOMMediaListImpl::Delete(const nsAReadableString& aOldMedium)
DOMMediaListImpl::Delete(const nsString& aOldMedium){  if (!aOldMedium.Length())    return NS_ERROR_DOM_NOT_FOUND_ERR;  nsCOMPtr<nsIAtom> old(dont_AddRef(NS_NewAtom(aOldMedium)));  NS_ENSURE_TRUE(old, NS_ERROR_OUT_OF_MEMORY);  PRInt32 indx = IndexOf(old);  if (indx < 0) {    return NS_ERROR_DOM_NOT_FOUND_ERR;  }  RemoveElementAt(indx);  return NS_OK;}