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

@@ -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 &&