Print out view during listings

This commit is contained in:
kipp 1998-06-03 15:41:53 +00:00
parent 41b1731f72
commit 4a9e16a98f

View File

@ -1116,6 +1116,12 @@ NS_METHOD nsContainerFrame::List(FILE* out, PRInt32 aIndent) const
// Output the tag
ListTag(out);
nsIView* view;
GetView(view);
if (nsnull != view) {
fprintf(out, " [view=%p]", view);
NS_RELEASE(view);
}
// Output the first/last content offset
fprintf(out, "[%d,%d,%c] ", mFirstContentOffset, mLastContentOffset,