mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-01 00:32:11 +00:00
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:
parent
c3c011bd3b
commit
6e7af43939
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user