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
nsView.h
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