зеркало из https://github.com/mozilla/gecko-dev.git
Bug 774040 - remove unused field. r=roc.
This commit is contained in:
Родитель
8432e91d7a
Коммит
530ddac475
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче