зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1617542 - Revert changes to ipc/mscom/Interceptor.cpp.
CLOSED TREE --HG-- extra : amend_source : a8e95fac8fa4f351fd6c27398046cfd61b832f6c
This commit is contained in:
Родитель
6d27b014eb
Коммит
55035cb007
|
@ -467,7 +467,7 @@ Interceptor::PublishTarget(detail::LiveSetAutoLock& aLiveSetLock,
|
|||
// ownership of aTarget into mInterceptorMap which remains live for the
|
||||
// lifetime of this Interceptor.
|
||||
mTarget = ToInterceptorTargetPtr(aTarget);
|
||||
GetLiveSet().Put(mTarget.get(), std::move(weakRef));
|
||||
GetLiveSet().Put(mTarget.get(), weakRef.forget());
|
||||
|
||||
// Now we transfer aTarget's ownership into mInterceptorMap.
|
||||
mInterceptorMap.AppendElement(
|
||||
|
|
Загрузка…
Ссылка в новой задаче