Index: third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp b/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp |
index e8aab8d30d64b56c8f869bc292201f203725f280..eee78fdba377b3a5aa7c4f5f06799350ca5a7df3 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp |
@@ -402,10 +402,11 @@ void LayoutBoxModelObject::StyleDidChange(StyleDifference diff, |
Style()->GetPosition() == EPosition::kFixed; |
bool old_style_is_fixed_position = |
old_style->GetPosition() == EPosition::kFixed; |
- if (new_style_is_fixed_position != old_style_is_fixed_position) |
+ if (new_style_is_fixed_position != old_style_is_fixed_position) { |
ObjectPaintInvalidator(*this) |
.InvalidateDisplayItemClientsIncludingNonCompositingDescendants( |
- kPaintInvalidationStyleChange); |
+ PaintInvalidationReason::kStyle); |
+ } |
} |
// The used style for body background may change due to computed style change |