Bug 213601: Switch some users of NS_NewAtom over to do_GetAtom. r=bzbarsky, sr=dbaron

This commit is contained in:
jaggernaut@netscape.com
2003-07-24 04:53:13 +00:00
parent b4198e1948
commit 45be713aac
18 changed files with 54 additions and 55 deletions

View File

@@ -209,7 +209,7 @@ nsHTMLEditor::CheckSelectionStateForAnonymousButtons(nsISelection * aSelection)
res = focusElement->GetTagName(focusTagName);
if (NS_FAILED(res)) return res;
ToLowerCase(focusTagName);
nsCOMPtr<nsIAtom> focusTagAtom = getter_AddRefs(NS_NewAtom(focusTagName));
nsCOMPtr<nsIAtom> focusTagAtom = do_GetAtom(focusTagName);
nsCOMPtr<nsIDOMElement> absPosElement;
if (mIsAbsolutelyPositioningEnabled) {