Print out view during listings

git-svn-id: svn://10.0.0.236/trunk@3056 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
kipp
1998-06-03 15:57:24 +00:00
parent 0c523b77e3
commit 97e9354074
2 changed files with 14 additions and 0 deletions

View File

@@ -22,6 +22,7 @@
#include "nsBodyFrame.h"
#include "nsIStyleContext.h"
#include "nsCSSLayout.h"
#include "nsIView.h"
static NS_DEFINE_IID(kIFloaterContainerIID, NS_IFLOATERCONTAINER_IID);
@@ -207,6 +208,12 @@ nsPlaceholderFrame::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 rect
out << mRect;

View File

@@ -22,6 +22,7 @@
#include "nsBodyFrame.h"
#include "nsIStyleContext.h"
#include "nsCSSLayout.h"
#include "nsIView.h"
static NS_DEFINE_IID(kIFloaterContainerIID, NS_IFLOATERCONTAINER_IID);
@@ -207,6 +208,12 @@ nsPlaceholderFrame::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 rect
out << mRect;