Closed Bug 668184 Opened 13 years ago Closed 13 years ago

Make nsIDocument::AddXMLEventsContent return void

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla7

People

(Reporter: Ms2ger, Assigned: Ms2ger)

Details

Attachments

(1 file)

Attached patch Patch v1Splinter Review
None of its callers check the return value, which can only be NS_OK because of infallible new.
Flags: in-testsuite-
Attachment #542776 - Flags: review?(Olli.Pettay)
Comment on attachment 542776 [details] [diff] [review]
Patch v1

You need to update the IID of nsIDocument
Attachment #542776 - Flags: review?(Olli.Pettay) → review+
http://hg.mozilla.org/mozilla-central/rev/4caf28f35715
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla7
From the code changes made to:
content/base/public/nsIDocument.h
content/base/src/nsDocument.cpp
content/base/src/nsDocument.h

it is obvious that AddXMLEventsContent now returns void instead of nsresult.
Status: RESOLVED → VERIFIED
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: