gecko-dev/view
Timothy Nikkel d4712d5e3e Bug 1837960. Remove array of all nsViewManagers. r=emilio
The only thing it's used for is calling will paint on a document tree. To iterate every viewmanager looking for those in one document tree is a bit silly, we can just walk the view tree. Since there are only 3 types of views (root views, popup views for menupopupframes, and subdocument frame views (and their inner view)) we don't have to walk many pointers: menupopupframes are controlled by chrome code and are limited, and the other two types of views correspond to the number of view managers in the tree (one view manager per document).

Differential Revision: https://phabricator.services.mozilla.com/D180677
2023-06-22 09:38:27 +00:00
..
crashtests
moz.build
nsView.cpp Bug 1824986 - Use element more in popup manager code. r=mstange 2023-03-28 14:33:19 +00:00
nsView.h Bug 1798697 - Use outside rather than closest pixels for popup sizes, and don't clamp translucent popups. r=tnikkel 2023-01-24 11:24:48 +00:00
nsViewManager.cpp Bug 1837960. Remove array of all nsViewManagers. r=emilio 2023-06-22 09:38:27 +00:00
nsViewManager.h Bug 1837960. Remove array of all nsViewManagers. r=emilio 2023-06-22 09:38:27 +00:00