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();
|
nsTableCellMap *cellMap = tableFrame->GetCellMap();
|
||||||
|
|
||||||
mozilla::AutoStackArena arena;
|
mozilla::AutoStackArena arena;
|
||||||
SpanningCellSorter spanningCells(tableFrame->PresContext()->PresShell());
|
SpanningCellSorter spanningCells;
|
||||||
|
|
||||||
// Loop over the columns to consider the columns and cells *without*
|
// Loop over the columns to consider the columns and cells *without*
|
||||||
// a colspan.
|
// a colspan.
|
||||||
|
@ -14,9 +14,8 @@
|
|||||||
|
|
||||||
//#define DEBUG_SPANNING_CELL_SORTER
|
//#define DEBUG_SPANNING_CELL_SORTER
|
||||||
|
|
||||||
SpanningCellSorter::SpanningCellSorter(nsIPresShell *aPresShell)
|
SpanningCellSorter::SpanningCellSorter()
|
||||||
: mPresShell(aPresShell)
|
: mState(ADDING)
|
||||||
, mState(ADDING)
|
|
||||||
, mSortedHashTable(nsnull)
|
, mSortedHashTable(nsnull)
|
||||||
{
|
{
|
||||||
memset(mArray, 0, sizeof(mArray));
|
memset(mArray, 0, sizeof(mArray));
|
||||||
|
@ -22,7 +22,7 @@ class nsIPresShell;
|
|||||||
*/
|
*/
|
||||||
class NS_STACK_CLASS SpanningCellSorter {
|
class NS_STACK_CLASS SpanningCellSorter {
|
||||||
public:
|
public:
|
||||||
SpanningCellSorter(nsIPresShell *aPresShell);
|
SpanningCellSorter();
|
||||||
~SpanningCellSorter();
|
~SpanningCellSorter();
|
||||||
|
|
||||||
struct Item {
|
struct Item {
|
||||||
@ -44,7 +44,6 @@ public:
|
|||||||
*/
|
*/
|
||||||
Item* GetNext(PRInt32 *aColSpan);
|
Item* GetNext(PRInt32 *aColSpan);
|
||||||
private:
|
private:
|
||||||
nsIPresShell *mPresShell;
|
|
||||||
|
|
||||||
enum State { ADDING, ENUMERATING_ARRAY, ENUMERATING_HASH, DONE };
|
enum State { ADDING, ENUMERATING_ARRAY, ENUMERATING_HASH, DONE };
|
||||||
State mState;
|
State mState;
|
||||||
|
Loading…
Reference in New Issue
Block a user