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:
Andrea Marchesini
2015-03-03 11:09:00 +00:00
parent 5ef204a98a
commit ae571f51bb
17 changed files with 120 additions and 142 deletions

View File

@@ -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);