Closed Bug 1411754 Opened 7 years ago Closed 7 years ago

Rename PresShell::DestroyFramesFor to something a bit more descriptive of what it really does.

Categories

(Core :: Layout, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla58
Tracking Status
firefox58 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

Details

Attachments

(1 file)

I suggested DestroyFramesForAndRestyle over bug 1404789, and Boris seemed to agree, but open to suggestions.
Comment on attachment 8922093 [details]
Bug 1411754: Rename PresShell::DestroyFramesFor to DestroyFramesForAndRestyle.

https://reviewboard.mozilla.org/r/193094/#review198360

LGTM, r=mats

BTW, it seems we first post a "nsRestyleHint(0), nsChangeHint_ReconstructFrame" (in the !didReconstruct case)
and then after that a "eRestyle_Subtree, nsChangeHint(0)".  Seems like a weird order to do things.
Attachment #8922093 - Flags: review?(mats) → review+
(In reply to Mats Palmgren (:mats) from comment #2)
> Comment on attachment 8922093 [details]
> Bug 1411754: Rename PresShell::DestroyFramesFor to
> DestroyFramesForAndRestyle.
> 
> https://reviewboard.mozilla.org/r/193094/#review198360
> 
> LGTM, r=mats
> 
> BTW, it seems we first post a "nsRestyleHint(0),
> nsChangeHint_ReconstructFrame" (in the !didReconstruct case)
> and then after that a "eRestyle_Subtree, nsChangeHint(0)".  Seems like a
> weird order to do things.

Fair enough, I just unified both.
Pushed by ecoal95@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/58801e0c84bc
Rename PresShell::DestroyFramesFor to DestroyFramesForAndRestyle. r=mats
https://hg.mozilla.org/mozilla-central/rev/58801e0c84bc
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla58
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: