missed another.get

This commit is contained in:
mjudge%netscape.com 2000-04-12 04:20:07 +00:00
parent c6128bbf01
commit af97e4a182
2 changed files with 2 additions and 2 deletions

View File

@ -242,7 +242,7 @@ nsLeafIterator::Next()
break;
}
else
if (NS_FAILED(parent->GetParent(&result)) || !result || (NS_SUCCEEDED(result->GetFrameType(getter_AddRefs(atom))) && atom == nsLayoutAtoms::rootFrame)){
if (NS_FAILED(parent->GetParent(&result)) || !result || (NS_SUCCEEDED(result->GetFrameType(getter_AddRefs(atom))) && atom.get() == nsLayoutAtoms::rootFrame)){
result = nsnull;
break;
}

View File

@ -242,7 +242,7 @@ nsLeafIterator::Next()
break;
}
else
if (NS_FAILED(parent->GetParent(&result)) || !result || (NS_SUCCEEDED(result->GetFrameType(getter_AddRefs(atom))) && atom == nsLayoutAtoms::rootFrame)){
if (NS_FAILED(parent->GetParent(&result)) || !result || (NS_SUCCEEDED(result->GetFrameType(getter_AddRefs(atom))) && atom.get() == nsLayoutAtoms::rootFrame)){
result = nsnull;
break;
}