| Index: Source/core/dom/Element.cpp
|
| diff --git a/Source/core/dom/Element.cpp b/Source/core/dom/Element.cpp
|
| index a03b03244a7ec37b5eb85a1d2da4396021691ddc..08b2df10bb83d794ba6045c71b9cf765b816adf2 100644
|
| --- a/Source/core/dom/Element.cpp
|
| +++ b/Source/core/dom/Element.cpp
|
| @@ -1526,7 +1526,7 @@ bool Element::pseudoStyleCacheIsInvalid(const LayoutStyle* currentStyle, LayoutS
|
| // FIXME: We should do an actual diff to determine whether a repaint vs. layout
|
| // is needed, but for now just assume a layout will be required. The diff code
|
| // in LayoutObject::setStyle would need to be factored out so that it could be reused.
|
| - layoutObject()->setNeedsLayoutAndPrefWidthsRecalcAndFullPaintInvalidation();
|
| + layoutObject()->setNeedsLayoutAndPrefWidthsRecalcAndFullPaintInvalidation(LayoutInvalidationReason::StyleChange);
|
| }
|
| return true;
|
| }
|
|
|