mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1168170 - Mark reference counted members of nsTimerImpl::mCallback as MOZ_OWNING_REF. r=froydnj
This commit is contained in:
parent
0c3fceaad7
commit
9fbdf37e6d
@ -116,8 +116,9 @@ private:
|
||||
union CallbackUnion
|
||||
{
|
||||
nsTimerCallbackFunc c;
|
||||
nsITimerCallback* i;
|
||||
nsIObserver* o;
|
||||
// These refcounted references are managed manually, as they are in a union
|
||||
nsITimerCallback* MOZ_OWNING_REF i;
|
||||
nsIObserver* MOZ_OWNING_REF o;
|
||||
} mCallback;
|
||||
|
||||
// Some callers expect to be able to access the callback while the
|
||||
|
Loading…
Reference in New Issue
Block a user