mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 01:48:05 +00:00
Use nsAutoVoidArray for stack-based nsLineLayout to reduce allocations. r=jag sr=waterson b=90727
This commit is contained in:
parent
b4ea38686f
commit
ff52e9e58d
@ -288,7 +288,7 @@ protected:
|
|||||||
|
|
||||||
PRUint8 mPlacedFloaters;
|
PRUint8 mPlacedFloaters;
|
||||||
PRInt32 mTotalPlacedFrames;
|
PRInt32 mTotalPlacedFrames;
|
||||||
nsVoidArray mWordFrames;
|
nsAutoVoidArray mWordFrames;
|
||||||
|
|
||||||
nscoord mTopEdge;
|
nscoord mTopEdge;
|
||||||
nscoord mBottomEdge;
|
nscoord mBottomEdge;
|
||||||
|
@ -288,7 +288,7 @@ protected:
|
|||||||
|
|
||||||
PRUint8 mPlacedFloaters;
|
PRUint8 mPlacedFloaters;
|
||||||
PRInt32 mTotalPlacedFrames;
|
PRInt32 mTotalPlacedFrames;
|
||||||
nsVoidArray mWordFrames;
|
nsAutoVoidArray mWordFrames;
|
||||||
|
|
||||||
nscoord mTopEdge;
|
nscoord mTopEdge;
|
||||||
nscoord mBottomEdge;
|
nscoord mBottomEdge;
|
||||||
|
Loading…
Reference in New Issue
Block a user