Commit 32d07c5c authored by Laurent Jouanneau's avatar Laurent Jouanneau
Browse files

bug 513647: fixed a compil warning on...

bug 513647: fixed a compil warning on nsHTMLContentSerializer::SerializeAttributes. r=Olli.Pettay, sr=bzbarsky
parent 5eadd2ad
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
@@ -103,7 +103,7 @@ nsHTMLContentSerializer::AppendDocumentStart(nsIDOMDocument *aDocument,
}

void 
nsHTMLContentSerializer::SerializeAttributes(nsIContent* aContent,
nsHTMLContentSerializer::SerializeHTMLAttributes(nsIContent* aContent,
                                                 nsIDOMElement *aOriginalElement,
                                                 nsAString& aTagPrefix,
                                                 const nsAString& aTagNamespaceURI,
@@ -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);

+6 −6
Original line number Diff line number Diff line
@@ -68,7 +68,7 @@ class nsHTMLContentSerializer : public nsXHTMLContentSerializer {
                                 nsAString& aStr);
 protected:

  virtual void SerializeAttributes(nsIContent* aContent,
  virtual void SerializeHTMLAttributes(nsIContent* aContent,
                                       nsIDOMElement *aOriginalElement,
                                       nsAString& aTagPrefix,
                                       const nsAString& aTagNamespaceURI,