| Index: Source/core/style/StyleRareInheritedData.cpp
|
| diff --git a/Source/core/style/StyleRareInheritedData.cpp b/Source/core/style/StyleRareInheritedData.cpp
|
| index e0d73d93c06f3af61072ae5868ff1a9176e1b55c..ef2f4ccb25ef27608f5177ecdef19d25e2de16a1 100644
|
| --- a/Source/core/style/StyleRareInheritedData.cpp
|
| +++ b/Source/core/style/StyleRareInheritedData.cpp
|
| @@ -54,6 +54,7 @@ struct SameSizeAsStyleRareInheritedData : public RefCounted<SameSizeAsStyleRareI
|
|
|
| Color touchColors;
|
| TabSize tabSize;
|
| + void* variables[1];
|
| };
|
|
|
| static_assert(sizeof(StyleRareInheritedData) <= sizeof(SameSizeAsStyleRareInheritedData), "StyleRareInheritedData should stay small");
|
| @@ -161,6 +162,7 @@ StyleRareInheritedData::StyleRareInheritedData(const StyleRareInheritedData& o)
|
| , tapHighlightColor(o.tapHighlightColor)
|
| , appliedTextDecorations(o.appliedTextDecorations)
|
| , m_tabSize(o.m_tabSize)
|
| + , variables(o.variables)
|
| {
|
| }
|
|
|
| @@ -225,7 +227,8 @@ bool StyleRareInheritedData::operator==(const StyleRareInheritedData& o) const
|
| && m_textUnderlinePosition == o.m_textUnderlinePosition
|
| && m_rubyPosition == o.m_rubyPosition
|
| && dataEquivalent(listStyleImage.get(), o.listStyleImage.get())
|
| - && dataEquivalent(appliedTextDecorations, o.appliedTextDecorations);
|
| + && dataEquivalent(appliedTextDecorations, o.appliedTextDecorations)
|
| + && variables == o.variables;
|
| }
|
|
|
| bool StyleRareInheritedData::shadowDataEquivalent(const StyleRareInheritedData& o) const
|
|
|