Fix AtomImpl leaks (includes bug 32608). r=pollmann@netscape.com
git-svn-id: svn://10.0.0.236/trunk@69785 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -511,7 +511,7 @@ nsComboboxControlFrame::ShowPopup(PRBool aShowPopup)
|
||||
// which causes the active state to be removed from the event state manager immediately after it
|
||||
// it the select is set to the active state.
|
||||
|
||||
nsCOMPtr<nsIAtom> activeAtom ( dont_QueryInterface(NS_NewAtom(kMozDropdownActive)));
|
||||
nsCOMPtr<nsIAtom> activeAtom ( dont_AddRef(NS_NewAtom(kMozDropdownActive)));
|
||||
if (PR_TRUE == aShowPopup) {
|
||||
mContent->SetAttribute(kNameSpaceID_None, activeAtom, nsAutoString(), PR_TRUE);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user