зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1362876 - Use reserved storage for 10 FloatInfo objects on the stack in nsFloatManager::mFloats; r=dbaron
This commit is contained in:
Родитель
5e0d8b7dc6
Коммит
b90cfcb8ef
|
@ -596,7 +596,7 @@ private:
|
|||
|
||||
// Translation from local to global coordinate space.
|
||||
nscoord mLineLeft, mBlockStart;
|
||||
nsTArray<FloatInfo> mFloats;
|
||||
AutoTArray<FloatInfo, 10> mFloats;
|
||||
nsIntervalSet mFloatDamage;
|
||||
|
||||
// Did we try to place a float that could not fit at all and had to be
|
||||
|
|
Загрузка…
Ссылка в новой задаче