Fixed ptr compilation bug
git-svn-id: svn://10.0.0.236/trunk@1502 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
40fbd986a8
commit
c10b69d3ba
@ -561,7 +561,7 @@ nsReflowStatus nsInlineFrame::ReflowUnmappedChildren(nsIPresContext* aPresContex
|
||||
for (;;) {
|
||||
// Get the next content object
|
||||
nsIContentPtr kid = mContent->ChildAt(kidIndex);
|
||||
if (nsnull == kid) {
|
||||
if (kid.IsNull()) {
|
||||
result = NS_FRAME_COMPLETE;
|
||||
break;
|
||||
}
|
||||
|
||||
@ -561,7 +561,7 @@ nsReflowStatus nsInlineFrame::ReflowUnmappedChildren(nsIPresContext* aPresContex
|
||||
for (;;) {
|
||||
// Get the next content object
|
||||
nsIContentPtr kid = mContent->ChildAt(kidIndex);
|
||||
if (nsnull == kid) {
|
||||
if (kid.IsNull()) {
|
||||
result = NS_FRAME_COMPLETE;
|
||||
break;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user