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
parent 908601bb91
commit 9e9f3a474a

View File

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