Bug 1867604: Use regular refcounting macro (not threadsafe one) for RequestedFrameRefreshObserver, since it's only used on the main thread. r=pehrsons

Differential Revision: https://phabricator.services.mozilla.com/D195122
This commit is contained in:
Daniel Holbert 2023-11-30 18:46:05 +00:00
parent c3c011bd3b
commit 6e7af43939

View File

@ -63,7 +63,7 @@ NS_IMPL_NS_NEW_HTML_ELEMENT(Canvas)
namespace mozilla::dom {
class RequestedFrameRefreshObserver : public nsARefreshObserver {
NS_INLINE_DECL_THREADSAFE_REFCOUNTING(RequestedFrameRefreshObserver, override)
NS_INLINE_DECL_REFCOUNTING(RequestedFrameRefreshObserver, override)
public:
RequestedFrameRefreshObserver(HTMLCanvasElement* const aOwningElement,