mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 513647: fixed a compil warning on nsHTMLContentSerializer::SerializeAttributes. r=Olli.Pettay, sr=bzbarsky
This commit is contained in:
parent
3d60b7255e
commit
5428e94167
@ -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);
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user