From a798692a8d12619d968fd3e46209543b91c2f281 Mon Sep 17 00:00:00 2001 From: "rods%netscape.com" Date: Fri, 3 Mar 2000 00:42:29 +0000 Subject: [PATCH] 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 git-svn-id: svn://10.0.0.236/trunk@62095 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/layout/html/forms/src/nsGfxTextControlFrame.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/mozilla/layout/html/forms/src/nsGfxTextControlFrame.cpp b/mozilla/layout/html/forms/src/nsGfxTextControlFrame.cpp index f1da1269e5c..77b99dfeadc 100644 --- a/mozilla/layout/html/forms/src/nsGfxTextControlFrame.cpp +++ b/mozilla/layout/html/forms/src/nsGfxTextControlFrame.cpp @@ -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",