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
bdcfe7d55f
commit
aa7da9b898
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user