зеркало из https://github.com/mozilla/gecko-dev.git
turning off reflow optimization until further XUL testing can be done.
r=self
This commit is contained in:
Родитель
05e6af0c80
Коммит
93d013bd9a
|
@ -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;
|
||||
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче