зеркало из https://github.com/mozilla/pjs.git
Remove nsCSSDataBlock::kOffsetTable, which is no longer needed. (Bug 645620, patch 2) r=bzbarsky
This commit is contained in:
Родитель
1465996e2e
Коммит
b84b9500b9
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче