document parameters to nsStyleContext constructor and remove aPresContext parameter

RESOLVED FIXED in mozilla18

Status

()

RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: dbaron, Unassigned)

Tracking

Trunk
mozilla18
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

Created attachment 661438 [details] [diff] [review]
patch

I started to document the parameters to nsStyleContext's constructor and realized the aPresContext parameter is silly, so I removed it along with adding the documentation.
Attachment #661438 - Flags: review?(bzbarsky)
Comment on attachment 661438 [details] [diff] [review]
patch

>+++ b/layout/style/nsStyleContext.h
>+   * @param aPseudoTag  The pseudo-element or anonymous box for which
>+   *                    this style context represents style.

Please add "Null if this is a style context for a nomrla DOM element.

r=me
Attachment #661438 - Flags: review?(bzbarsky) → review+
https://hg.mozilla.org/mozilla-central/rev/e041c4098d4a
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla18
You need to log in before you can comment on or make changes to this bug.