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:
@@ -181,7 +181,7 @@ nsHTMLTableColGroupElement::StringToAttribute(nsIAtom* aAttribute,
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsHTMLTableColGroupElement::AttributeToString(nsIAtom* aAttribute,
|
||||
nsHTMLValue& aValue,
|
||||
const nsHTMLValue& aValue,
|
||||
nsString& aResult) const
|
||||
{
|
||||
/* ignore these attributes, stored already as strings
|
||||
@@ -292,11 +292,10 @@ nsHTMLTableColGroupElement::HandleDOMEvent(nsIPresContext& aPresContext,
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsHTMLTableColGroupElement::GetStyleHintForAttributeChange(
|
||||
const nsIContent * aNode,
|
||||
const nsIAtom* aAttribute,
|
||||
PRInt32 *aHint) const
|
||||
{
|
||||
if (PR_TRUE == nsGenericHTMLElement::SetStyleHintForCommonAttributes(aNode,
|
||||
if (PR_TRUE == nsGenericHTMLElement::SetStyleHintForCommonAttributes(this,
|
||||
aAttribute, aHint)) {
|
||||
// Do nothing
|
||||
}
|
||||
@@ -304,4 +303,4 @@ nsHTMLTableColGroupElement::GetStyleHintForAttributeChange(
|
||||
*aHint = NS_STYLE_HINT_REFLOW;
|
||||
}
|
||||
return NS_OK;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user