зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1168170 - Mark reference counted members of nsTimerImpl::mCallback as MOZ_OWNING_REF. r=froydnj
This commit is contained in:
Родитель
4d7b75425a
Коммит
ab4019ac55
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче