Closed Bug 969099 Opened 9 years ago Closed 9 years ago

initialize nsPresContext::mIsChrome eagerly

Categories

(Core :: Layout, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla30

People

(Reporter: heycam, Assigned: heycam)

References

Details

Attachments

(1 file)

We call nsPresContext::IsChrome() on every document, so I don't think it make sense to lazily initialize it.
Attached patch patchSplinter Review
Assignee: nobody → cam
Status: NEW → ASSIGNED
Attachment #8372013 - Flags: review?(roc)
https://hg.mozilla.org/mozilla-central/rev/3c925e73a1d0
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla30
Depends on: 1314158
You need to log in before you can comment on or make changes to this bug.