Turned off the optimization that wasn't really working well anyway,

will turn it back on in M15 after reworking it
b 28593 a=jar r=self
This commit is contained in:
rods%netscape.com 2000-03-03 00:42:29 +00:00
parent 257c1a21d8
commit 8e122d212d

View File

@ -2090,11 +2090,14 @@ nsGfxTextControlFrame::Reflow(nsIPresContext* aPresContext,
printf("gfxTCF: reflow reason=%d\n", aReflowState.reason);
#endif
// Turning off optimization for now
#if 0
nsresult skiprv = SkipResizeReflow(mCacheSize, mCachedMaxElementSize, aPresContext,
aDesiredSize, aReflowState, aStatus);
if (NS_SUCCEEDED(skiprv)) {
return skiprv;
}
#endif
// Figure out if we are doing Quirks or Standard
nsCompatibility mode;
@ -2165,8 +2168,10 @@ nsGfxTextControlFrame::Reflow(nsIPresContext* aPresContext,
}
#endif
// Turning off optimization for now
#if 0
SetupCachedSizes(mCacheSize, mCachedMaxElementSize, aDesiredSize);
#endif
#ifdef NOISY
printf ("exit nsGfxTextControlFrame::Reflow: size=%d,%d\n",