зеркало из https://github.com/mozilla/pjs.git
Bug 226167 DRefTool analysis for soap files
r=roc sr=roc
This commit is contained in:
Родитель
5bdbe63b3c
Коммит
2b0eacfb8d
|
@ -2160,6 +2160,9 @@ static nsresult DecodeStructParticle(nsISOAPEncoding* aEncoding, nsIDOMElement*
|
||||||
PRUint32 i;
|
PRUint32 i;
|
||||||
if (compositor == nsISchemaModelGroup::COMPOSITOR_ALL) { // This handles out-of-order appearances.
|
if (compositor == nsISchemaModelGroup::COMPOSITOR_ALL) { // This handles out-of-order appearances.
|
||||||
nsCOMPtr<nsISupportsArray> all = new nsSupportsArray(); // Create something we can mutate
|
nsCOMPtr<nsISupportsArray> all = new nsSupportsArray(); // Create something we can mutate
|
||||||
|
if (!all)
|
||||||
|
return NS_ERROR_OUT_OF_MEMORY;
|
||||||
|
|
||||||
all->SizeTo(particleCount);
|
all->SizeTo(particleCount);
|
||||||
nsCOMPtr<nsISchemaParticle> child;
|
nsCOMPtr<nsISchemaParticle> child;
|
||||||
PRBool mangled = PR_FALSE;
|
PRBool mangled = PR_FALSE;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче