| Index: Source/core/style/StyleRareInheritedData.cpp
|
| diff --git a/Source/core/style/StyleRareInheritedData.cpp b/Source/core/style/StyleRareInheritedData.cpp
|
| index 9dcd2b6be58f51e02fe6e5f2402781b3bf472212..1a20dbd27769dee4093b36ca503769ad11bdefcc 100644
|
| --- a/Source/core/style/StyleRareInheritedData.cpp
|
| +++ b/Source/core/style/StyleRareInheritedData.cpp
|
| @@ -49,6 +49,7 @@ struct SameSizeAsStyleRareInheritedData : public RefCounted<SameSizeAsStyleRareI
|
|
|
| Color touchColors;
|
| TabSize tabSize;
|
| + void* variables[1];
|
| };
|
|
|
| static_assert(sizeof(StyleRareInheritedData) == sizeof(SameSizeAsStyleRareInheritedData), "StyleRareInheritedData should stay small");
|
| @@ -152,6 +153,7 @@ StyleRareInheritedData::StyleRareInheritedData(const StyleRareInheritedData& o)
|
| , tapHighlightColor(o.tapHighlightColor)
|
| , appliedTextDecorations(o.appliedTextDecorations)
|
| , m_tabSize(o.m_tabSize)
|
| + , variables(o.variables)
|
| {
|
| }
|
|
|
| @@ -214,7 +216,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
|
|
|