ElementAttributeData::ElementAttributeData(const ElementAttributeData& other, bool isMutable) : m_isMutable(isMutable) , m_arraySize(isMutable ? 0 : other.length()) , m_presentationAttributeStyle(other.m_presentationAttributeStyle) , m_classNames(other.m_classNames) , m_idForStyleResolution(other.m_idForStyleResolution) { // NOTE: The inline style is copied by the subclass copy constructor since we don't know what to do with it here. }
ElementAttributeData::ElementAttributeData(const ElementAttributeData& other, bool isMutable) : m_isMutable(isMutable) , m_arraySize(isMutable ? 0 : other.length()) , m_presentationAttributeStyleIsDirty(other.m_presentationAttributeStyleIsDirty) , m_styleAttributeIsDirty(other.m_styleAttributeIsDirty) #if ENABLE(SVG) , m_animatedSVGAttributesAreDirty(other.m_animatedSVGAttributesAreDirty) #endif , m_classNames(other.m_classNames) , m_idForStyleResolution(other.m_idForStyleResolution) { // NOTE: The inline style is copied by the subclass copy constructor since we don't know what to do with it here. }