Bug 1134280 - Get rid of Tag() - patch 2.3 - dom/base and docshell - Fix all the occurrences, m=smaug, r=surkov
This commit is contained in:
@@ -187,7 +187,7 @@ nsHTMLContentSerializer::AppendElementStart(Element* aElement,
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
nsIAtom *name = content->Tag();
|
||||
nsIAtom *name = content->NodeInfo()->NameAtom();
|
||||
int32_t ns = content->GetNameSpaceID();
|
||||
|
||||
bool lineBreakBeforeOpen = LineBreakBeforeOpen(ns, name);
|
||||
@@ -298,7 +298,7 @@ nsHTMLContentSerializer::AppendElementEnd(Element* aElement,
|
||||
|
||||
nsIContent* content = aElement;
|
||||
|
||||
nsIAtom *name = content->Tag();
|
||||
nsIAtom *name = content->NodeInfo()->NameAtom();
|
||||
int32_t ns = content->GetNameSpaceID();
|
||||
|
||||
if (ns == kNameSpaceID_XHTML &&
|
||||
|
||||
Reference in New Issue
Block a user