This patch leaves the call in the Attr constructor, because we plan to make Attr not inherit from nsINode.