зеркало из https://github.com/mozilla/gecko-dev.git
Back out half of the previous patch for bug 709747, since the nsCOMPtr<nsISupports>::forget(nsISupports**) specialization is substantially different from nsCOMPtr<T>::forget(I**), and uses swap which already does the needed logging.
This commit is contained in:
Родитель
3eb0f7c214
Коммит
9e2b8313b4
|
@ -1047,7 +1047,6 @@ class nsCOMPtr<nsISupports>
|
|||
// parameters.
|
||||
{
|
||||
NS_ASSERTION(rhs, "Null pointer passed to forget!");
|
||||
NSCAP_LOG_RELEASE(this, mRawPtr);
|
||||
*rhs = 0;
|
||||
swap(*rhs);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче