From 93d013bd9a313981d1404e7e30066ad7db1688ef Mon Sep 17 00:00:00 2001 From: "rods%netscape.com" Date: Wed, 5 Jan 2000 15:47:16 +0000 Subject: [PATCH] turning off reflow optimization until further XUL testing can be done. r=self --- layout/forms/nsFormControlFrame.cpp | 4 ++-- layout/html/forms/src/nsFormControlFrame.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/layout/forms/nsFormControlFrame.cpp b/layout/forms/nsFormControlFrame.cpp index eaefab317249..911d5b3e5f73 100644 --- a/layout/forms/nsFormControlFrame.cpp +++ b/layout/forms/nsFormControlFrame.cpp @@ -123,7 +123,7 @@ nsresult nsFormControlFrame::SkipResizeReflow(nsSize& aCacheSize, const nsHTMLReflowState& aReflowState, nsReflowStatus& aStatus) { - +#if 0 if (aReflowState.reason == eReflowReason_Resize) { if (NS_UNCONSTRAINEDSIZE == aReflowState.mComputedWidth && NS_UNCONSTRAINEDSIZE == aReflowState.mComputedHeight) { @@ -156,7 +156,7 @@ nsresult nsFormControlFrame::SkipResizeReflow(nsSize& aCacheSize, } } } - +#endif return NS_ERROR_FAILURE; } diff --git a/layout/html/forms/src/nsFormControlFrame.cpp b/layout/html/forms/src/nsFormControlFrame.cpp index eaefab317249..911d5b3e5f73 100644 --- a/layout/html/forms/src/nsFormControlFrame.cpp +++ b/layout/html/forms/src/nsFormControlFrame.cpp @@ -123,7 +123,7 @@ nsresult nsFormControlFrame::SkipResizeReflow(nsSize& aCacheSize, const nsHTMLReflowState& aReflowState, nsReflowStatus& aStatus) { - +#if 0 if (aReflowState.reason == eReflowReason_Resize) { if (NS_UNCONSTRAINEDSIZE == aReflowState.mComputedWidth && NS_UNCONSTRAINEDSIZE == aReflowState.mComputedHeight) { @@ -156,7 +156,7 @@ nsresult nsFormControlFrame::SkipResizeReflow(nsSize& aCacheSize, } } } - +#endif return NS_ERROR_FAILURE; }