diff --git a/layout/generic/nsLineBox.cpp b/layout/generic/nsLineBox.cpp index 622474519b17..251458a8c4d7 100644 --- a/layout/generic/nsLineBox.cpp +++ b/layout/generic/nsLineBox.cpp @@ -85,9 +85,10 @@ nsLineBox::List(FILE* out, PRInt32 aIndent) const if (0 != mCarriedOutBottomMargin) { fprintf(out, "bm=%d ", mCarriedOutBottomMargin); } - out << mBounds; - fprintf(out, " ca="); - out << mCombinedArea; + fprintf(out, "{%d,%d,%d,%d} ca={%d,%d,%d,%d}", + mBounds.x, mBounds.y, mBounds.width, mBounds.height, + mCombinedArea.x, mCombinedArea.y, + mCombinedArea.width, mCombinedArea.height); fprintf(out, " <\n"); nsIFrame* frame = mFirstChild; diff --git a/layout/html/base/src/nsLineBox.cpp b/layout/html/base/src/nsLineBox.cpp index 622474519b17..251458a8c4d7 100644 --- a/layout/html/base/src/nsLineBox.cpp +++ b/layout/html/base/src/nsLineBox.cpp @@ -85,9 +85,10 @@ nsLineBox::List(FILE* out, PRInt32 aIndent) const if (0 != mCarriedOutBottomMargin) { fprintf(out, "bm=%d ", mCarriedOutBottomMargin); } - out << mBounds; - fprintf(out, " ca="); - out << mCombinedArea; + fprintf(out, "{%d,%d,%d,%d} ca={%d,%d,%d,%d}", + mBounds.x, mBounds.y, mBounds.width, mBounds.height, + mCombinedArea.x, mCombinedArea.y, + mCombinedArea.width, mCombinedArea.height); fprintf(out, " <\n"); nsIFrame* frame = mFirstChild;