Bug 450990. Address review comments too

This commit is contained in:
Boris Zbarsky 2008-10-10 14:21:29 -04:00
parent 3d9cbe61b4
commit 187abdc558
2 changed files with 2 additions and 2 deletions

View File

@ -570,7 +570,7 @@ public:
*/ */
void SetTemplateGenerated() { SetFlags(XUL_ELEMENT_TEMPLATE_GENERATED); } void SetTemplateGenerated() { SetFlags(XUL_ELEMENT_TEMPLATE_GENERATED); }
void ClearTemplateGenerated() { UnsetFlags(XUL_ELEMENT_TEMPLATE_GENERATED); } void ClearTemplateGenerated() { UnsetFlags(XUL_ELEMENT_TEMPLATE_GENERATED); }
PRBool GetTemplateGenerated() { return !!(GetFlags() & XUL_ELEMENT_TEMPLATE_GENERATED); } PRBool GetTemplateGenerated() { return HasFlag(XUL_ELEMENT_TEMPLATE_GENERATED); }
// nsIDOMNode // nsIDOMNode
NS_FORWARD_NSIDOMNODE(nsGenericElement::) NS_FORWARD_NSIDOMNODE(nsGenericElement::)

View File

@ -744,7 +744,7 @@ nsXULContentBuilder::BuildContentFromTemplate(nsIContent *aTemplateNode,
// <label value="?title"/> // <label value="?title"/>
// </vbox> // </vbox>
rv = BuildContentFromTemplate(tmplKid, aResourceNode, realKid, PR_FALSE, rv = BuildContentFromTemplate(tmplKid, aResourceNode, realKid, PR_FALSE,
aIsSelfReference, aChild, PR_FALSE, aMatch, PR_FALSE, aChild, PR_FALSE, aMatch,
nsnull /* don't care */, nsnull /* don't care */,
nsnull /* don't care */); nsnull /* don't care */);
if (NS_FAILED(rv)) return rv; if (NS_FAILED(rv)) return rv;