bug #75504; sr=jband. making it impossible to misuse |getter_AddRefs| in the way jband discovered
git-svn-id: svn://10.0.0.236/trunk@93789 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -236,10 +236,7 @@ struct already_AddRefed
|
||||
// nothing else to do here
|
||||
}
|
||||
|
||||
operator T*() const
|
||||
{
|
||||
return mRawPtr;
|
||||
}
|
||||
T* get() const { return mRawPtr; }
|
||||
|
||||
T* mRawPtr;
|
||||
};
|
||||
|
||||
@@ -236,10 +236,7 @@ struct already_AddRefed
|
||||
// nothing else to do here
|
||||
}
|
||||
|
||||
operator T*() const
|
||||
{
|
||||
return mRawPtr;
|
||||
}
|
||||
T* get() const { return mRawPtr; }
|
||||
|
||||
T* mRawPtr;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user