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:
@@ -895,7 +895,7 @@ nsXMLContentSerializer::AppendElementStart(Element* aElement,
|
||||
uint32_t skipAttr = ScanNamespaceDeclarations(content,
|
||||
aOriginalElement, tagNamespaceURI);
|
||||
|
||||
nsIAtom *name = content->Tag();
|
||||
nsIAtom *name = content->NodeInfo()->NameAtom();
|
||||
bool lineBreakBeforeOpen = LineBreakBeforeOpen(content->GetNameSpaceID(), name);
|
||||
|
||||
if ((mDoFormat || forceFormat) && !mDoRaw && !PreLevel()) {
|
||||
@@ -985,7 +985,7 @@ nsXMLContentSerializer::AppendElementEnd(Element* aElement,
|
||||
bool forceFormat = false, outputElementEnd;
|
||||
outputElementEnd = CheckElementEnd(content, forceFormat, aStr);
|
||||
|
||||
nsIAtom *name = content->Tag();
|
||||
nsIAtom *name = content->NodeInfo()->NameAtom();
|
||||
|
||||
if ((mDoFormat || forceFormat) && !mDoRaw && !PreLevel()) {
|
||||
DecrIndentation(name);
|
||||
|
||||
Reference in New Issue
Block a user