Remove nsCSSDataBlock::kOffsetTable, which is no longer needed. (Bug 645620, patch 2) r=bzbarsky

This commit is contained in:
L. David Baron 2011-03-28 16:07:26 -07:00
Родитель 1465996e2e
Коммит b84b9500b9
2 изменённых файлов: 0 добавлений и 16 удалений

Просмотреть файл

@ -330,18 +330,6 @@ nsCSSExpandedDataBlock::~nsCSSExpandedDataBlock()
AssertInitialState();
}
const size_t
nsCSSExpandedDataBlock::kOffsetTable[] = {
#define CSS_PROP(name_, id_, method_, flags_, datastruct_, member_, \
parsevariant_, kwtable_, stylestruct_, stylestructoffset_,\
animtype_) \
offsetof(nsCSSExpandedDataBlock, m##datastruct_.member_),
#define CSS_PROP_STUB_NOT_CSS size_t(-1),
#include "nsCSSPropList.h"
#undef CSS_PROP
#undef CSS_PROP_STUB_NOT_CSS
};
void
nsCSSExpandedDataBlock::DoExpand(nsCSSCompressedDataBlock *aBlock,
PRBool aImportant)

Просмотреть файл

@ -249,10 +249,6 @@ private:
void DoAssertInitialState();
#endif
// XXX These could probably be pointer-to-member, if the casting can
// be done correctly.
static const size_t kOffsetTable[];
/*
* mPropertiesSet stores a bit for every property that is present,
* to optimize compression of blocks with small numbers of