diff --git a/layout/generic/nsBlockFrame.cpp b/layout/generic/nsBlockFrame.cpp index ecc356f9bcac..d8009b76b9b9 100644 --- a/layout/generic/nsBlockFrame.cpp +++ b/layout/generic/nsBlockFrame.cpp @@ -29,6 +29,7 @@ #include "nsHTMLValue.h" #include "nsReflowCommand.h" #include "nsCSSLayout.h" +#include "nsIView.h" // XXX what do we do with catastrophic errors (rv < 0)? What is the // state of the reflow world after such an error? @@ -309,6 +310,12 @@ nsBlockFrame::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, diff --git a/layout/generic/nsBlockReflowState.cpp b/layout/generic/nsBlockReflowState.cpp index ecc356f9bcac..d8009b76b9b9 100644 --- a/layout/generic/nsBlockReflowState.cpp +++ b/layout/generic/nsBlockReflowState.cpp @@ -29,6 +29,7 @@ #include "nsHTMLValue.h" #include "nsReflowCommand.h" #include "nsCSSLayout.h" +#include "nsIView.h" // XXX what do we do with catastrophic errors (rv < 0)? What is the // state of the reflow world after such an error? @@ -309,6 +310,12 @@ nsBlockFrame::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, diff --git a/layout/generic/nsBlockReflowState.h b/layout/generic/nsBlockReflowState.h index ecc356f9bcac..d8009b76b9b9 100644 --- a/layout/generic/nsBlockReflowState.h +++ b/layout/generic/nsBlockReflowState.h @@ -29,6 +29,7 @@ #include "nsHTMLValue.h" #include "nsReflowCommand.h" #include "nsCSSLayout.h" +#include "nsIView.h" // XXX what do we do with catastrophic errors (rv < 0)? What is the // state of the reflow world after such an error? @@ -309,6 +310,12 @@ nsBlockFrame::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, diff --git a/layout/html/base/src/nsBlockFrame.cpp b/layout/html/base/src/nsBlockFrame.cpp index ecc356f9bcac..d8009b76b9b9 100644 --- a/layout/html/base/src/nsBlockFrame.cpp +++ b/layout/html/base/src/nsBlockFrame.cpp @@ -29,6 +29,7 @@ #include "nsHTMLValue.h" #include "nsReflowCommand.h" #include "nsCSSLayout.h" +#include "nsIView.h" // XXX what do we do with catastrophic errors (rv < 0)? What is the // state of the reflow world after such an error? @@ -309,6 +310,12 @@ nsBlockFrame::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, diff --git a/layout/html/base/src/nsBlockReflowState.cpp b/layout/html/base/src/nsBlockReflowState.cpp index ecc356f9bcac..d8009b76b9b9 100644 --- a/layout/html/base/src/nsBlockReflowState.cpp +++ b/layout/html/base/src/nsBlockReflowState.cpp @@ -29,6 +29,7 @@ #include "nsHTMLValue.h" #include "nsReflowCommand.h" #include "nsCSSLayout.h" +#include "nsIView.h" // XXX what do we do with catastrophic errors (rv < 0)? What is the // state of the reflow world after such an error? @@ -309,6 +310,12 @@ nsBlockFrame::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, diff --git a/layout/html/base/src/nsBlockReflowState.h b/layout/html/base/src/nsBlockReflowState.h index ecc356f9bcac..d8009b76b9b9 100644 --- a/layout/html/base/src/nsBlockReflowState.h +++ b/layout/html/base/src/nsBlockReflowState.h @@ -29,6 +29,7 @@ #include "nsHTMLValue.h" #include "nsReflowCommand.h" #include "nsCSSLayout.h" +#include "nsIView.h" // XXX what do we do with catastrophic errors (rv < 0)? What is the // state of the reflow world after such an error? @@ -309,6 +310,12 @@ nsBlockFrame::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,