From 5dabd7779714fb6bd6c58fb93845bc8eb93d8e8c Mon Sep 17 00:00:00 2001 From: "bernd.mielke%snafu.de" Date: Wed, 3 Apr 2002 04:21:20 +0000 Subject: [PATCH] show canvasframe in debug reflow logs, bug 134130 , r=jkeiser sr=attinasi a=asa git-svn-id: svn://10.0.0.236/trunk@117977 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/layout/generic/nsHTMLFrame.cpp | 1 + mozilla/layout/html/base/src/nsHTMLFrame.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/mozilla/layout/generic/nsHTMLFrame.cpp b/mozilla/layout/generic/nsHTMLFrame.cpp index 12ec8b8904a..246de25ea43 100644 --- a/mozilla/layout/generic/nsHTMLFrame.cpp +++ b/mozilla/layout/generic/nsHTMLFrame.cpp @@ -484,6 +484,7 @@ CanvasFrame::Reflow(nsIPresContext* aPresContext, nsReflowStatus& aStatus) { DO_GLOBAL_REFLOW_COUNT("CanvasFrame", aReflowState.reason); + DISPLAY_REFLOW(aPresContext, this, aReflowState, aDesiredSize, aStatus); NS_FRAME_TRACE_REFLOW_IN("CanvasFrame::Reflow"); //NS_PRECONDITION(nsnull == aDesiredSize.maxElementSize, "unexpected request"); diff --git a/mozilla/layout/html/base/src/nsHTMLFrame.cpp b/mozilla/layout/html/base/src/nsHTMLFrame.cpp index 12ec8b8904a..246de25ea43 100644 --- a/mozilla/layout/html/base/src/nsHTMLFrame.cpp +++ b/mozilla/layout/html/base/src/nsHTMLFrame.cpp @@ -484,6 +484,7 @@ CanvasFrame::Reflow(nsIPresContext* aPresContext, nsReflowStatus& aStatus) { DO_GLOBAL_REFLOW_COUNT("CanvasFrame", aReflowState.reason); + DISPLAY_REFLOW(aPresContext, this, aReflowState, aDesiredSize, aStatus); NS_FRAME_TRACE_REFLOW_IN("CanvasFrame::Reflow"); //NS_PRECONDITION(nsnull == aDesiredSize.maxElementSize, "unexpected request");