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:
scc%mozilla.org
2001-05-03 10:15:09 +00:00
parent e7e1adaa18
commit 87f76cacea
2 changed files with 2 additions and 8 deletions

View File

@@ -236,10 +236,7 @@ struct already_AddRefed
// nothing else to do here
}
operator T*() const
{
return mRawPtr;
}
T* get() const { return mRawPtr; }
T* mRawPtr;
};

View File

@@ -236,10 +236,7 @@ struct already_AddRefed
// nothing else to do here
}
operator T*() const
{
return mRawPtr;
}
T* get() const { return mRawPtr; }
T* mRawPtr;
};