Chromium Code Reviews| Index: third_party/WebKit/Source/core/css/CSSValue.h |
| diff --git a/third_party/WebKit/Source/core/css/CSSValue.h b/third_party/WebKit/Source/core/css/CSSValue.h |
| index b529e27399408cde71268859a6d983df3ebd4108..16814ad8ff211a347a344c7488d35325d5240944 100644 |
| --- a/third_party/WebKit/Source/core/css/CSSValue.h |
| +++ b/third_party/WebKit/Source/core/css/CSSValue.h |
| @@ -186,10 +186,7 @@ protected: |
| ClassType getClassType() const { return static_cast<ClassType>(m_classType); } |
| explicit CSSValue(ClassType classType) |
| - : m_primitiveUnitType(0) |
| - , m_hasCachedCSSText(false) |
| - , m_valueListSeparator(SpaceSeparator) |
| - , m_classType(classType) |
| + : m_classType(classType) |
| { |
| } |
| @@ -199,17 +196,6 @@ protected: |
| private: |
| void destroy(); |
| -protected: |
| - // The bits in this section are only used by specific subclasses but kept here |
| - // to maximize struct packing. |
| - |
| - // CSSPrimitiveValue bits: |
| - unsigned m_primitiveUnitType : 7; // CSSPrimitiveValue::UnitType |
| - mutable unsigned m_hasCachedCSSText : 1; |
| - |
| - unsigned m_valueListSeparator : ValueListSeparatorBits; |
|
esprehn
2016/08/11 05:42:35
this was done so these bits can pack with m_classT
|
| - |
| -private: |
| unsigned m_classType : ClassTypeBits; // ClassType |
| }; |