sync to new attribute api
git-svn-id: svn://10.0.0.236/trunk@16723 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -169,7 +169,7 @@ PRInt32 nsLegendFrame::GetAlign()
|
||||
mContent->QueryInterface(kIHTMLContentIID, (void**) &content);
|
||||
if (nsnull != content) {
|
||||
nsHTMLValue value;
|
||||
if (NS_CONTENT_ATTR_HAS_VALUE == (content->GetAttribute(nsHTMLAtoms::align, value))) {
|
||||
if (NS_CONTENT_ATTR_HAS_VALUE == (content->GetHTMLAttribute(nsHTMLAtoms::align, value))) {
|
||||
if (eHTMLUnit_Enumerated == value.GetUnit()) {
|
||||
intValue = value.GetIntValue();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user