Confirmed users
381
edits
(Initial spec) |
No edit summary |
||
| Line 1: | Line 1: | ||
Automatic rewriting spec for [[XPCOMGC]]: | Automatic rewriting spec for [[XPCOMGC]]: | ||
Detect every instance of nsCOMPtr that is used as a stack variable, and rewrite it to be a raw pointer. | Detect every instance of nsCOMPtr that is used as a stack variable, and rewrite it to be a raw pointer. | ||
*Remove use of getter_AddRefs with these objects. | |||
*Rewrite nsCOMPtr::swap() | |||
*Remove nsCOMPtr::get() for stack vars | |||
e.g. | e.g. | ||