diff --git a/xpcom/glue/nsProxyRelease.h b/xpcom/glue/nsProxyRelease.h index d73f5732b62c..695fcfce2f22 100644 --- a/xpcom/glue/nsProxyRelease.h +++ b/xpcom/glue/nsProxyRelease.h @@ -58,7 +58,7 @@ NS_ProxyRelease { T* raw = nsnull; doomed.swap(raw); - return NS_ProxyRelease(target, doomed, alwaysProxy); + return NS_ProxyRelease(target, raw, alwaysProxy); } /**