Closed Bug 513647 Opened 17 years ago Closed 17 years ago

Warning on the override of nsXHTMLContentSerializer::SerializeAttributes

Categories

(Core :: DOM: Serializers, defect)

1.9.2 Branch
x86
All
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: laurent, Assigned: laurent)

Details

Attachments

(1 file)

Boris found a warning in the serializer https://bugzilla.mozilla.org/show_bug.cgi?id=422403#c42 SerializeAttributes has not the same signature in nsXHTMLContentSerializer and in nsHTMLContentSerializer, and in fact, there is no reason to use the same name. Using a different name would avoid the warning.
Attached patch The patch — — Splinter Review
I renamed the method.
Attachment #397586 - Flags: superreview?(bzbarsky)
Attachment #397586 - Flags: review?(Olli.Pettay)
Comment on attachment 397586 [details] [diff] [review] The patch Please fix the argument indentation, and looks good.
Attachment #397586 - Flags: superreview?(bzbarsky) → superreview+
Attachment #397586 - Flags: review?(Olli.Pettay) → review+
I pushed the patch, with fixed indentation. http://hg.mozilla.org/mozilla-central/rev/c2843401d2f9
Flags: wanted1.9.2?
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: