initialize nsPresContext::mIsChrome eagerly

RESOLVED FIXED in mozilla30

Status

()

Core
Layout
RESOLVED FIXED
5 years ago
2 years ago

People

(Reporter: heycam, Assigned: heycam)

Tracking

Trunk
mozilla30
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

5 years ago
We call nsPresContext::IsChrome() on every document, so I don't think it make sense to lazily initialize it.
(Assignee)

Comment 1

5 years ago
Created attachment 8372013 [details] [diff] [review]
patch
Assignee: nobody → cam
Status: NEW → ASSIGNED
Attachment #8372013 - Flags: review?(roc)
https://hg.mozilla.org/mozilla-central/rev/3c925e73a1d0
Status: ASSIGNED → RESOLVED
Last Resolved: 5 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.