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
This commit is contained in:
parent
72abe0de32
commit
a798692a8d
@ -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",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user