mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-08 16:03:21 +00:00
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:
parent
257c1a21d8
commit
8e122d212d
@ -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