mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 19:35:51 +00:00
Print out view during listings
This commit is contained in:
parent
41b1731f72
commit
4a9e16a98f
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user