Closed Bug 566808 Opened 14 years ago Closed 14 years ago

DeCOMtaminate nsIStyleRule method signatures

Categories

(Core :: CSS Parsing and Computation, defect, P4)

defect

Tracking

()

RESOLVED FIXED

People

(Reporter: craig.topper, Assigned: craig.topper)

References

(Blocks 1 open bug)

Details

Attachments

(1 file, 1 obsolete file)

nsIStyleRule contains two NSIMETHOD methods that always return NS_OK and their callers don't check the return value anyway. The should be converted to void to remove the returns.

Patch coming soon.
Attached patch Patch to convert the two methods (obsolete) — Splinter Review
Attachment #446171 - Flags: review?(dbaron)
Oops found an include dependency in nsSVGElement.h cause by the removal of some includes in one of the CSS header files. I'll submit a new patch to fix after review.
Comment on attachment 446171 [details] [diff] [review]
Patch to convert the two methods

r=dbaron with the include changes

However, note bug 239008 comment 29:  it's probably better to avoid making changes right now that do anything invasive to nsCSSStyleRule and related classes (though this one should be fine, and trivial to merge with).
Attachment #446171 - Flags: review?(dbaron) → review+
Just needed to add a forward declaration.
Attachment #446171 - Attachment is obsolete: true
Keywords: checkin-needed
Pushed as: http://hg.mozilla.org/mozilla-central/rev/9a7be1835b53
Status: NEW → RESOLVED
Closed: 14 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: