gecko-dev/view
Nika Layzell 8f236832ff Bug 1758115 - Part 2: Streamline locking, initialization and shutdown for TimelineConsumers, r=smaug
The current implementation of TimelineConsumers contains some unnecessary
complexity due to how it is initialized as a singleton, and the need for it to
be initialized and used in a threadsafe way. This patch attempts to simplify it
by making all members static, and removing the need to explicitly observe
shutdown for cleanup.

In addition, this approach avoids the risk of the type being accessed from
off-main-thread during initialization or shutdown.

Depends on D150442

Differential Revision: https://phabricator.services.mozilla.com/D150443
2022-06-29 15:01:51 +00:00
..
crashtests
moz.build Bug 1733701: Remove REQUIRES_UNIFIED_BUILD from view/moz.build, since it builds just fine in non-unified mode. r=tnikkel 2021-10-01 22:12:13 +00:00
nsView.cpp Bug 1758115 - Part 2: Streamline locking, initialization and shutdown for TimelineConsumers, r=smaug 2022-06-29 15:01:51 +00:00
nsView.h Bug 1737044 - Include pointer and frame in nsWindow logging. r=stransky 2021-10-21 14:02:30 +00:00
nsViewManager.cpp Bug 1736236 - Remove obsolete LayerManager.h. r=gfx-reviewers,lsalzman 2021-10-17 23:00:47 +00:00
nsViewManager.h Bug 1733465 part 4: Convert nsViewManager::gViewManagers to StaticAutoPtr so that we don't have to manually delete it. r=tnikkel 2021-10-01 20:38:10 +00:00