We call nsPresContext::IsChrome() on every document, so I don't think it make sense to lazily initialize it.
Created attachment 8372013 [details] [diff] [review] patch
Assignee: nobody → cam
Status: NEW → ASSIGNED
Attachment #8372013 - Flags: review?(roc)
Attachment #8372013 - Attachment is patch: true
Attachment #8372013 - Flags: review?(roc) → review+
Status: ASSIGNED → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla30
You need to log in before you can comment on or make changes to this bug.