Index: third_party/WebKit/Source/core/frame/FrameView.cpp |
diff --git a/third_party/WebKit/Source/core/frame/FrameView.cpp b/third_party/WebKit/Source/core/frame/FrameView.cpp |
index 42e03fccec6269e2387549168e498374bff63478..d71049acfcd03d37879e8eae14fdc46e22012006 100644 |
--- a/third_party/WebKit/Source/core/frame/FrameView.cpp |
+++ b/third_party/WebKit/Source/core/frame/FrameView.cpp |
@@ -2644,7 +2644,7 @@ void FrameView::updateLifecyclePhasesInternal(DocumentLifecycle::LifecycleState |
} |
if (targetState >= DocumentLifecycle::PrePaintClean) { |
- if (RuntimeEnabledFeatures::slimmingPaintV2Enabled()) |
+ if (RuntimeEnabledFeatures::slimmingPaintInvalidationEnabled()) |
updatePaintProperties(); |
} |
@@ -2673,7 +2673,7 @@ void FrameView::updatePaintProperties() |
{ |
TRACE_EVENT0("blink", "FrameView::updatePaintProperties"); |
- ASSERT(RuntimeEnabledFeatures::slimmingPaintV2Enabled()); |
+ DCHECK(RuntimeEnabledFeatures::slimmingPaintInvalidationEnabled()); |
forAllNonThrottledFrameViews([](FrameView& frameView) { frameView.lifecycle().advanceTo(DocumentLifecycle::InPrePaint); }); |
PrePaintTreeWalk().walk(*this); |