Simplify PresShell::Initialize.

RESOLVED FIXED in Firefox 60

Status

()

enhancement
P3
normal
RESOLVED FIXED
Last year
Last year

People

(Reporter: emilio, Assigned: emilio)

Tracking

unspecified
mozilla60
Points:
---

Firefox Tracking Flags

(firefox60 fixed)

Details

Attachments

(1 attachment)

This function takes two arguments just to set the pres context's visible area, and most people pass the pre-existing pres context visible area anyway.
[ Triage 2017/02/20: P3 ]
Priority: -- → P3
Comment on attachment 8951795 [details]
Bug 1439027: Simplify PresShell::Initialize.

https://reviewboard.mozilla.org/r/221068/#review227726

::: layout/base/nsIPresShell.h:358
(Diff revision 1)
>    bool DidInitialize() const { return mDidInitialize; }
>  
>    /**
>     * Perform initialization. Constructs the frame for the root content
>     * object and then enqueues a reflow of the frame model into the
>     * specified width and height.

Please fix the docs; there is no specified width and height anymore, etc.
Attachment #8951795 - Flags: review?(bzbarsky) → review+
Pushed by ecoal95@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/a43a60bb3a90
Simplify PresShell::Initialize. r=bz
https://hg.mozilla.org/mozilla-central/rev/a43a60bb3a90
Status: NEW → RESOLVED
Closed: Last year
Resolution: --- → FIXED
Target Milestone: --- → mozilla60
You need to log in before you can comment on or make changes to this bug.