mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
missed another.get
This commit is contained in:
parent
c6128bbf01
commit
af97e4a182
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user