| Index: third_party/WebKit/Source/core/style/StyleDifference.h
|
| diff --git a/third_party/WebKit/Source/core/style/StyleDifference.h b/third_party/WebKit/Source/core/style/StyleDifference.h
|
| index 6b4603096f60de5e25fea2efe592322e22b9552f..9e311d60bf7913ed730f99bfdf8b1bd579cca16d 100644
|
| --- a/third_party/WebKit/Source/core/style/StyleDifference.h
|
| +++ b/third_party/WebKit/Source/core/style/StyleDifference.h
|
| @@ -21,6 +21,7 @@ public:
|
| BackdropFilterChanged = 1 << 4,
|
| // The object needs to issue paint invalidations if it is affected by text decorations or properties dependent on color (e.g., border or outline).
|
| TextDecorationOrColorChanged = 1 << 5,
|
| + LayoutAffectingPropertyChanged = 1 << 6,
|
| // If you add a value here, be sure to update the number of bits on m_propertySpecificDifferences.
|
| };
|
|
|
| @@ -88,6 +89,9 @@ public:
|
| bool textDecorationOrColorChanged() const { return m_propertySpecificDifferences & TextDecorationOrColorChanged; }
|
| void setTextDecorationOrColorChanged() { m_propertySpecificDifferences |= TextDecorationOrColorChanged; }
|
|
|
| + bool layoutAffectingPropertyChanged() const { return m_propertySpecificDifferences & LayoutAffectingPropertyChanged; }
|
| + void setLayoutAffectingPropertyChanged() { m_propertySpecificDifferences |= LayoutAffectingPropertyChanged; }
|
| +
|
| private:
|
| enum PaintInvalidationType {
|
| NoPaintInvalidation = 0,
|
| @@ -103,7 +107,7 @@ private:
|
| };
|
| unsigned m_layoutType : 2;
|
| unsigned m_recomputeOverflow : 1;
|
| - unsigned m_propertySpecificDifferences : 6;
|
| + unsigned m_propertySpecificDifferences : 7;
|
| };
|
|
|
| } // namespace blink
|
|
|