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:
L. David Baron 2012-06-29 22:50:45 -07:00
Родитель 3eb0f7c214
Коммит 9e2b8313b4
1 изменённых файлов: 0 добавлений и 1 удалений

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

@ -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);
}