Bug 1617542 - Revert changes to ipc/mscom/Interceptor.cpp.

CLOSED TREE

--HG--
extra : amend_source : a8e95fac8fa4f351fd6c27398046cfd61b832f6c
This commit is contained in:
Cosmin Sabou 2020-02-24 19:35:46 +02:00
Родитель 6d27b014eb
Коммит 55035cb007
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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(