Closed Bug 1220496 Opened 6 years ago Closed 6 years ago

make nsStyleSet::DirtyRuleProcessors private

Categories

(Core :: CSS Parsing and Computation, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla45
Tracking Status
firefox45 --- fixed

People

(Reporter: heycam, Assigned: heycam)

Details

Attachments

(1 file)

The only use of nsStyleSet::DirtyRuleProcessors outside of nsStyleSet is in nsDocument to force creation of PresHint and StyleAttr level rule processors.  As the comment in nsDocument.cpp suggests, we should be able to do this as part of nsStyleSet initialization.  Then we can make DirtyRuleProcessors private.
Attached patch patchSplinter Review
Attachment #8681730 - Flags: review?(bzbarsky)
Assignee: nobody → cam
Status: NEW → ASSIGNED
Comment on attachment 8681730 [details] [diff] [review]
patch

r=me.
Attachment #8681730 - Flags: review?(bzbarsky) → review+
https://hg.mozilla.org/mozilla-central/rev/9a8d90e52285
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla45
You need to log in before you can comment on or make changes to this bug.