Closed Bug 1219537 Opened 4 years ago Closed 4 years ago
simplify a couple of Pres
Context() gets on ns IFrame/ns Style Context
nsIFrame::PresContext does not need to go through the RuleNode() call to get the pres context, as nsStyleContext::PresContext() will do that. Similarly, we should be able to make nsNativeTheme::GetPresShell just call aFramee->PresContext() these days.
Assignee: nobody → cam
Status: NEW → ASSIGNED
Attachment #8680443 - Flags: review?(dholbert)
Historical note: looks like the nsNativeTheme "egcs 1.1.2" workaround was added in 2005 in this commit: https://github.com/mozilla/gecko-dev/commit/1a8f776608b38ff9861e50b3838d8d268787aee6
4 years ago
Attachment #8680443 - Flags: review?(dholbert) → review+
removing the b2g 2.5 flag since this commit has been reverted due to an incorrect merge, sorry for the confusion
You need to log in before you can comment on or make changes to this bug.