diff --git a/content/base/src/nsHTMLContentSerializer.cpp b/content/base/src/nsHTMLContentSerializer.cpp index be926a0f8c4a..069885132646 100644 --- a/content/base/src/nsHTMLContentSerializer.cpp +++ b/content/base/src/nsHTMLContentSerializer.cpp @@ -103,12 +103,12 @@ nsHTMLContentSerializer::AppendDocumentStart(nsIDOMDocument *aDocument, } void -nsHTMLContentSerializer::SerializeAttributes(nsIContent* aContent, - nsIDOMElement *aOriginalElement, - nsAString& aTagPrefix, - const nsAString& aTagNamespaceURI, - nsIAtom* aTagName, - nsAString& aStr) +nsHTMLContentSerializer::SerializeHTMLAttributes(nsIContent* aContent, + nsIDOMElement *aOriginalElement, + nsAString& aTagPrefix, + const nsAString& aTagNamespaceURI, + nsIAtom* aTagName, + nsAString& aStr) { PRInt32 count = aContent->GetAttrCount(); if (!count) @@ -306,7 +306,7 @@ nsHTMLContentSerializer::AppendElementStart(nsIDOMElement *aElement, // Even LI passed above have to go through this // for serializing attributes other than "value". nsAutoString dummyPrefix; - SerializeAttributes(content, aOriginalElement, dummyPrefix, EmptyString(), name, aStr); + SerializeHTMLAttributes(content, aOriginalElement, dummyPrefix, EmptyString(), name, aStr); AppendToString(kGreaterThan, aStr); diff --git a/content/base/src/nsHTMLContentSerializer.h b/content/base/src/nsHTMLContentSerializer.h index 3f0611f1fa32..4eccdeb2dd5f 100644 --- a/content/base/src/nsHTMLContentSerializer.h +++ b/content/base/src/nsHTMLContentSerializer.h @@ -68,12 +68,12 @@ class nsHTMLContentSerializer : public nsXHTMLContentSerializer { nsAString& aStr); protected: - virtual void SerializeAttributes(nsIContent* aContent, - nsIDOMElement *aOriginalElement, - nsAString& aTagPrefix, - const nsAString& aTagNamespaceURI, - nsIAtom* aTagName, - nsAString& aStr); + virtual void SerializeHTMLAttributes(nsIContent* aContent, + nsIDOMElement *aOriginalElement, + nsAString& aTagPrefix, + const nsAString& aTagNamespaceURI, + nsIAtom* aTagName, + nsAString& aStr); }; nsresult