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:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user