Removed a comment that is no longer applicable

This commit is contained in:
troy@netscape.com
1998-09-23 21:55:41 +00:00
parent 49e520bbb8
commit d1f532f3fa
3 changed files with 3 additions and 12 deletions

View File

@@ -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);
}