mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
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:
parent
ac9d05600f
commit
6c96fba7b3
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user