nsresult SetAttr(PRInt32 aNameSpaceID, nsIAtom* aName, const nsAString& aValue, PRBool aNotify) { return SetAttr(aNameSpaceID, aName, nsnull, aValue, aNotify);
nsHTMLImageElement::SetAttr(PRInt32 aNameSpaceID, nsIAtom* aName, nsIAtom* aPrefix, const nsAString& aValue, PRBool aNotify) {      if (aNotify && aNameSpaceID == kNameSpaceID_None && aName == nsHTMLAtoms::src) {    if (nsContentUtils::GetBoolPref("dom.disable_image_src_set") && !nsContentUtils::IsCallerChrome()) { return NS_OK; }  nsCOMPtr<imgIRequest> oldCurrentRequest = mCurrentRequest;    ImageURIChanged(aValue, PR_TRUE, aNotify);  if (mCurrentRequest && !mPendingRequest && oldCurrentRequest != mCurrentRequest) {    nsCOMPtr<imgIContainer> container; mCurrentRequest->GetImage(getter_AddRefs(container)); if (container) { container->ResetAnimation(); } }
  nsresult SetAttr(PRInt32 aNameSpaceID, nsIAtom* aName,                   const nsAString& aValue, PRBool aNotify)  {    return SetAttr(aNameSpaceID, aName, nsnull, aValue, aNotify);  }