turning off reflow optimization until further XUL testing can be done.

r=self
This commit is contained in:
rods%netscape.com 2000-01-05 15:47:16 +00:00
Родитель 05e6af0c80
Коммит 93d013bd9a
2 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -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;
}

Просмотреть файл

@ -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;
}