fixing runtime crash for arielb - was shadowing a member with a local in the ctor
git-svn-id: svn://10.0.0.236/trunk@41778 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -10,8 +10,9 @@ nsPrincipalArray::nsPrincipalArray(void)
|
||||
|
||||
nsPrincipalArray::nsPrincipalArray(PRUint32 count)
|
||||
{
|
||||
nsVector * itsArray = new nsVector();
|
||||
itsArray->SetSize(count, 1);
|
||||
itsArray = new nsVector();
|
||||
if(itsArray)
|
||||
itsArray->SetSize(count, 1);
|
||||
}
|
||||
nsPrincipalArray::~nsPrincipalArray(void)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user