Removed a comment that is no longer applicable
git-svn-id: svn://10.0.0.236/trunk@10843 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
02997b3c4d
commit
bcec7d7c3f
@ -1112,8 +1112,8 @@ HTMLStyleSheetImpl::ConstructRootFrame(nsIPresContext* aPresContext,
|
||||
// Verify it's the root content object
|
||||
aContent->GetDocument(doc);
|
||||
rootContent = doc->GetRootContent();
|
||||
NS_ASSERTION(rootContent == aContent, "unexpected content");
|
||||
NS_RELEASE(doc);
|
||||
NS_ASSERTION(rootContent == aContent, "unexpected content");
|
||||
NS_RELEASE(rootContent);
|
||||
#endif
|
||||
|
||||
@ -1407,9 +1407,6 @@ HTMLStyleSheetImpl::ContentAppended(nsIPresContext* aPresContext,
|
||||
lastChildFrame->SetNextSibling(frame);
|
||||
}
|
||||
|
||||
// XXX We should probably mark the frame as being dirty: that way the
|
||||
// parent frame can easily identify the newly added frames. Either that
|
||||
// or pass along in count in which case they must be contiguus...
|
||||
lastChildFrame = frame;
|
||||
NS_RELEASE(child);
|
||||
}
|
||||
|
||||
@ -1112,8 +1112,8 @@ HTMLStyleSheetImpl::ConstructRootFrame(nsIPresContext* aPresContext,
|
||||
// Verify it's the root content object
|
||||
aContent->GetDocument(doc);
|
||||
rootContent = doc->GetRootContent();
|
||||
NS_ASSERTION(rootContent == aContent, "unexpected content");
|
||||
NS_RELEASE(doc);
|
||||
NS_ASSERTION(rootContent == aContent, "unexpected content");
|
||||
NS_RELEASE(rootContent);
|
||||
#endif
|
||||
|
||||
@ -1407,9 +1407,6 @@ HTMLStyleSheetImpl::ContentAppended(nsIPresContext* aPresContext,
|
||||
lastChildFrame->SetNextSibling(frame);
|
||||
}
|
||||
|
||||
// XXX We should probably mark the frame as being dirty: that way the
|
||||
// parent frame can easily identify the newly added frames. Either that
|
||||
// or pass along in count in which case they must be contiguus...
|
||||
lastChildFrame = frame;
|
||||
NS_RELEASE(child);
|
||||
}
|
||||
|
||||
@ -1112,8 +1112,8 @@ HTMLStyleSheetImpl::ConstructRootFrame(nsIPresContext* aPresContext,
|
||||
// Verify it's the root content object
|
||||
aContent->GetDocument(doc);
|
||||
rootContent = doc->GetRootContent();
|
||||
NS_ASSERTION(rootContent == aContent, "unexpected content");
|
||||
NS_RELEASE(doc);
|
||||
NS_ASSERTION(rootContent == aContent, "unexpected content");
|
||||
NS_RELEASE(rootContent);
|
||||
#endif
|
||||
|
||||
@ -1407,9 +1407,6 @@ HTMLStyleSheetImpl::ContentAppended(nsIPresContext* aPresContext,
|
||||
lastChildFrame->SetNextSibling(frame);
|
||||
}
|
||||
|
||||
// XXX We should probably mark the frame as being dirty: that way the
|
||||
// parent frame can easily identify the newly added frames. Either that
|
||||
// or pass along in count in which case they must be contiguus...
|
||||
lastChildFrame = frame;
|
||||
NS_RELEASE(child);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user