making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66139 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -78,7 +78,7 @@ nsButtonFrameRenderer::SetDisabled(PRBool aDisabled, PRBool notify)
|
||||
mFrame->GetContent(getter_AddRefs(content));
|
||||
|
||||
if (aDisabled)
|
||||
content->SetAttribute(mNameSpace, nsHTMLAtoms::disabled, "", notify);
|
||||
content->SetAttribute(mNameSpace, nsHTMLAtoms::disabled, nsAutoString(), notify);
|
||||
else
|
||||
content->UnsetAttribute(mNameSpace, nsHTMLAtoms::disabled, notify);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user