mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 774040 - remove unused field. r=roc.
This commit is contained in:
parent
ee5d92ee8a
commit
9115f02bb5
@ -257,7 +257,7 @@ BasicTableLayoutStrategy::ComputeColumnIntrinsicWidths(nsRenderingContext* aRend
|
||||
nsTableCellMap *cellMap = tableFrame->GetCellMap();
|
||||
|
||||
mozilla::AutoStackArena arena;
|
||||
SpanningCellSorter spanningCells(tableFrame->PresContext()->PresShell());
|
||||
SpanningCellSorter spanningCells;
|
||||
|
||||
// Loop over the columns to consider the columns and cells *without*
|
||||
// a colspan.
|
||||
|
@ -14,9 +14,8 @@
|
||||
|
||||
//#define DEBUG_SPANNING_CELL_SORTER
|
||||
|
||||
SpanningCellSorter::SpanningCellSorter(nsIPresShell *aPresShell)
|
||||
: mPresShell(aPresShell)
|
||||
, mState(ADDING)
|
||||
SpanningCellSorter::SpanningCellSorter()
|
||||
: mState(ADDING)
|
||||
, mSortedHashTable(nsnull)
|
||||
{
|
||||
memset(mArray, 0, sizeof(mArray));
|
||||
|
@ -22,7 +22,7 @@ class nsIPresShell;
|
||||
*/
|
||||
class NS_STACK_CLASS SpanningCellSorter {
|
||||
public:
|
||||
SpanningCellSorter(nsIPresShell *aPresShell);
|
||||
SpanningCellSorter();
|
||||
~SpanningCellSorter();
|
||||
|
||||
struct Item {
|
||||
@ -44,7 +44,6 @@ public:
|
||||
*/
|
||||
Item* GetNext(PRInt32 *aColSpan);
|
||||
private:
|
||||
nsIPresShell *mPresShell;
|
||||
|
||||
enum State { ADDING, ENUMERATING_ARRAY, ENUMERATING_HASH, DONE };
|
||||
State mState;
|
||||
|
Loading…
Reference in New Issue
Block a user