Bug 774040 - remove unused field. r=roc.

This commit is contained in:
Rafael Ávila de Espíndola 2012-07-15 00:20:24 -04:00
parent ee5d92ee8a
commit 9115f02bb5
3 changed files with 4 additions and 6 deletions

View File

@ -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.

View File

@ -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));

View File

@ -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;