Closed Bug 1999623 Opened 5 months ago Closed 5 months ago

Remove some more view code.

Categories

(Core :: Web Painting, task)

task

Tracking

()

RESOLVED FIXED
147 Branch
Tracking Status
firefox147 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

Details

Attachments

(2 files)

No description provided.

Remove and simplify some view-using code:

  • Add nsIFrame::GetOwnWidget() to get an nsIWidget rather than doing
    menupopup-or-view.
  • Move widget invalidation to the only place it's used.
  • Don't deal with reentrant paints. Assert more strongly.
  • Move SetView only to ViewportFrame.

View origin is (0, 0) always now.

Pushed by sstanca@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/b29a50ebafaf https://hg.mozilla.org/integration/autoland/rev/8b0c43812dc3 Revert "Bug 1999623 - Remove view to widget offset. r=tnikkel,layout-reviewers" for causing build bustages in nsLayoutUtils.cpp.

Reverted this because it was causing build bustages in nsLayoutUtils.cpp.

Flags: needinfo?(emilio)
Flags: needinfo?(emilio)
Status: ASSIGNED → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → 147 Branch
QA Whiteboard: [qa-triage-done-c148/b147]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: