Nathan Froyd wrote:

IMHO, the current state of affairs for bug 792169 is a little ugly, insofar as 
you do:

#include "nsArray.h"
...
 nsCOMPtr<nsIMutableArray> = nsArray::Create();
...
I can certainly see the advantages of

#include "nsIMutableArray.h"
...
 nsCOMPtr<nsIMutableArray> array = NewIArray();

[I'm assuming here that people don't want rv = NS_NewMutableArray(getter_AddRefs(array)); ]

--
Warning: May contain traces of nuts.
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to