Closed Bug 1219537 Opened 4 years ago Closed 4 years ago

simplify a couple of PresContext() gets on nsIFrame/nsStyleContext

Categories

(Core :: General, defect)

defect
Not set

Tracking

()

RESOLVED FIXED
mozilla45
Tracking Status
firefox45 --- fixed

People

(Reporter: heycam, Assigned: heycam)

Details

Attachments

(1 file)

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.
Attached patch patchSplinter Review
Assignee: nobody → cam
Status: NEW → ASSIGNED
Attachment #8680443 - Flags: review?(dholbert)
https://hg.mozilla.org/mozilla-central/rev/01eb0e4cbc3d
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla45
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.