Index: Source/core/paint/DeprecatedPaintLayer.cpp |
diff --git a/Source/core/paint/DeprecatedPaintLayer.cpp b/Source/core/paint/DeprecatedPaintLayer.cpp |
index a6910903494bb73eb9589e1e45d8fa037179bec1..04fc6d3dcf3aa410f1ab5a3a153157026db2d899 100644 |
--- a/Source/core/paint/DeprecatedPaintLayer.cpp |
+++ b/Source/core/paint/DeprecatedPaintLayer.cpp |
@@ -775,8 +775,11 @@ bool DeprecatedPaintLayer::updateLayerPosition() |
// FIXME: We'd really like to just get rid of the concept of a layer rectangle and rely on the layoutObjects. |
localPoint.moveBy(-inlineBoundingBoxOffset); |
- if (m_location != localPoint) |
+ if (m_location != localPoint) { |
positionOrOffsetChanged = true; |
+ if (RuntimeEnabledFeatures::slimmingPaintV2Enabled()) |
+ setNeedsRepaint(); |
+ } |
m_location = localPoint; |
#if ENABLE(ASSERT) |