| Index: third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.cpp b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| index 21674ddb9d57c40e1c00c5885e795195c1cc6518..d12680151b5d534f5abcd126544df5319ab62656 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| @@ -1202,7 +1202,8 @@ void LayoutObject::invalidatePaintUsingContainer(const LayoutBoxModelObject& pai
|
| if (paintInvalidationContainer.frameView()->shouldThrottleRendering())
|
| return;
|
|
|
| - ASSERT(gDisablePaintInvalidationStateAsserts || document().lifecycle().state() == DocumentLifecycle::InPaintInvalidation);
|
| + DCHECK(gDisablePaintInvalidationStateAsserts
|
| + || document().lifecycle().state() == (RuntimeEnabledFeatures::slimmingPaintInvalidationEnabled() ? DocumentLifecycle::InPrePaint : DocumentLifecycle::InPaintInvalidation));
|
|
|
| if (dirtyRect.isEmpty())
|
| return;
|
|
|