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:
troy%netscape.com 1998-09-23 21:55:41 +00:00
parent 02997b3c4d
commit bcec7d7c3f
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);
}

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

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