mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 16:22:00 +00:00
Fix for the template variable change from <T> to <nsISupports>. r=dougt
This commit is contained in:
parent
9c3cc4d4d2
commit
9c777b0938
@ -644,7 +644,7 @@ class nsCOMPtr<nsISupports>
|
||||
nsCOMPtr( const nsCOMPtr_helper& helper )
|
||||
: nsCOMPtr_base(0)
|
||||
{
|
||||
assign_from_helper(helper, NS_GET_IID(T));
|
||||
assign_from_helper(helper, NS_GET_IID(nsISupports));
|
||||
}
|
||||
|
||||
nsCOMPtr( const nsDontQueryInterface<nsISupports>& aSmartPtr )
|
||||
@ -677,7 +677,7 @@ class nsCOMPtr<nsISupports>
|
||||
nsCOMPtr<nsISupports>&
|
||||
operator=( const nsCOMPtr_helper& rhs )
|
||||
{
|
||||
assign_from_helper(rhs, NS_GET_IID(T));
|
||||
assign_from_helper(rhs, NS_GET_IID(nsISupports));
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
@ -644,7 +644,7 @@ class nsCOMPtr<nsISupports>
|
||||
nsCOMPtr( const nsCOMPtr_helper& helper )
|
||||
: nsCOMPtr_base(0)
|
||||
{
|
||||
assign_from_helper(helper, NS_GET_IID(T));
|
||||
assign_from_helper(helper, NS_GET_IID(nsISupports));
|
||||
}
|
||||
|
||||
nsCOMPtr( const nsDontQueryInterface<nsISupports>& aSmartPtr )
|
||||
@ -677,7 +677,7 @@ class nsCOMPtr<nsISupports>
|
||||
nsCOMPtr<nsISupports>&
|
||||
operator=( const nsCOMPtr_helper& rhs )
|
||||
{
|
||||
assign_from_helper(rhs, NS_GET_IID(T));
|
||||
assign_from_helper(rhs, NS_GET_IID(nsISupports));
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user