Closed Bug 1540930 Opened 5 months ago Closed 5 months ago

Make nsPresContext use PresShell directly rather than via nsIPresShell

Categories

(Core :: Layout, defect, P3)

defect

Tracking

()

RESOLVED FIXED
mozilla68
Tracking Status
firefox68 --- fixed

People

(Reporter: masayuki, Assigned: masayuki)

References

Details

Attachments

(1 file)

nsPresContext should use mozilla::PresShell directly instead of
nsIPresShell. This patch makes it.

Unfortunately, nsPresContext and nsIFrame have PresShell(). Therefore,
we cannot use PresShell* in its methods so that this patch uses mozilla::
namespace prefix.

It might be better to rename them as PresShellPtr() in another bug.

Priority: -- → P3
Pushed by masayuki@d-toybox.com:
https://hg.mozilla.org/integration/autoland/rev/ca4ff21cf354
Make nsPresContext use mozilla::PresShell directly rather than via nsIPresShell r=emilio
Status: ASSIGNED → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
You need to log in before you can comment on or make changes to this bug.