Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(213)

Unified Diff: third_party/WebKit/Source/core/frame/FrameView.cpp

Issue 2334113002: Let slimmingPaintInvalidation plumbing work for spv1 (Closed)
Patch Set: - Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698