Bug 1449039 part 3 - Remove kStyleStructOffsetTable. r?emilio draft
authorXidorn Quan <me@upsuper.org>
Tue, 27 Mar 2018 09:53:06 +1100
changeset 772878 716041b9f2e50bee29cab13a7775fe52046ba86f
parent 772877 ba167ea706db730b815419f971d8b15ce14d3d65
child 772879 b1f996682c808c85074121d7ab19a2d59621a11d
push id104075
push userxquan@mozilla.com
push dateTue, 27 Mar 2018 03:57:37 +0000
reviewersemilio
bugs1449039
milestone61.0a1
Bug 1449039 part 3 - Remove kStyleStructOffsetTable. r?emilio MozReview-Commit-ID: CS50FdkPUP1
layout/style/nsCSSProps.cpp
--- a/layout/style/nsCSSProps.cpp
+++ b/layout/style/nsCSSProps.cpp
@@ -2556,27 +2556,16 @@ nsCSSProps::kAnimTypeTable[eCSSProperty_
                  stylestruct_, stylestructoffset_, animtype_)                 \
   animtype_,
 #define CSS_PROP_LIST_INCLUDE_LOGICAL
 #include "nsCSSPropList.h"
 #undef CSS_PROP_LIST_INCLUDE_LOGICAL
 #undef CSS_PROP
 };
 
-const ptrdiff_t
-nsCSSProps::kStyleStructOffsetTable[eCSSProperty_COUNT_no_shorthands] = {
-#define CSS_PROP(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, \
-                 stylestruct_, stylestructoffset_, animtype_)                 \
-  stylestructoffset_,
-#define CSS_PROP_LIST_INCLUDE_LOGICAL
-#include "nsCSSPropList.h"
-#undef CSS_PROP_LIST_INCLUDE_LOGICAL
-#undef CSS_PROP
-};
-
 const uint32_t nsCSSProps::kFlagsTable[eCSSProperty_COUNT] = {
 #define CSS_PROP(name_, id_, method_, flags_, pref_, parsevariant_, kwtable_, \
                  stylestruct_, stylestructoffset_, animtype_)                 \
   flags_,
 #define CSS_PROP_LIST_INCLUDE_LOGICAL
 #include "nsCSSPropList.h"
 #undef CSS_PROP_LIST_INCLUDE_LOGICAL
 #undef CSS_PROP