Index: Source/core/layout/LayoutObject.h |
diff --git a/Source/core/layout/LayoutObject.h b/Source/core/layout/LayoutObject.h |
index bf1a812f99b0cb266fc2a9dbb93595dd70ae508e..5be3d0db2781b113becb8e6ad2e003ad48b1ca3a 100644 |
--- a/Source/core/layout/LayoutObject.h |
+++ b/Source/core/layout/LayoutObject.h |
@@ -1129,12 +1129,12 @@ public: |
// The previous position of the top-left corner of the object in its previous paint backing. |
const LayoutPoint& previousPositionFromPaintInvalidationBacking() const |
{ |
- ASSERT(!RuntimeEnabledFeatures::slimmingPaintV2Enabled()); |
+ ASSERT(!RuntimeEnabledFeatures::slimmingPaintOffsetCachingEnabled()); |
return m_previousPositionFromPaintInvalidationBacking; |
} |
void setPreviousPositionFromPaintInvalidationBacking(const LayoutPoint& positionFromPaintInvalidationBacking) |
{ |
- ASSERT(!RuntimeEnabledFeatures::slimmingPaintV2Enabled()); |
+ ASSERT(!RuntimeEnabledFeatures::slimmingPaintOffsetCachingEnabled()); |
m_previousPositionFromPaintInvalidationBacking = positionFromPaintInvalidationBacking; |
} |