Confirmed users
381
edits
No edit summary |
No edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 31: | Line 31: | ||
gahbaz->GetBar(getter_AddRefs(mClassMember)); | gahbaz->GetBar(getter_AddRefs(mClassMember)); | ||
}</pre> | }</pre> | ||
Command to make the patch useful: | |||
<pre> | |||
sed 's/.home.tglek.work.actionmonkey.//' /tmp/nsgenerichtmlelement.diff |filterdiff -x xpcom/glue/nsCOMPtr.h -x xpcom/glue/nsIWeakReferenceUtils.h -x xpcom/glue/nsThreadUtils.h -x xpcom/threads/nsThread.h -x /\* |patch -p0 --dry-run</pre> | |||
[https://bugzilla.mozilla.org/show_bug.cgi?id=409088 Attribute-based rewrites] | |||
Functions that take COMPtr& parameters make life difficult(especially if those are templated). COMPtr& gets the & converted to a *, a couple of other funky cases exist. | |||