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

Unified Diff: third_party/WebKit/Source/core/dom/DocumentLifecycle.cpp

Issue 2831203002: Fix LayoutObject::SetSubtreeNeedsPaintPropertyUpdate() to set ancestor flags (Closed)
Patch Set: Created 3 years, 8 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/LayoutObject.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/DocumentLifecycle.cpp
diff --git a/third_party/WebKit/Source/core/dom/DocumentLifecycle.cpp b/third_party/WebKit/Source/core/dom/DocumentLifecycle.cpp
index c66e3fbe32ca53671bfd1b82014d29a63f25bfca..eb950da5423183a5c857fe1c6173da3fe03208cb 100644
--- a/third_party/WebKit/Source/core/dom/DocumentLifecycle.cpp
+++ b/third_party/WebKit/Source/core/dom/DocumentLifecycle.cpp
@@ -265,7 +265,7 @@ bool DocumentLifecycle::CanAdvanceTo(LifecycleState next_state) const {
if (!RuntimeEnabledFeatures::slimmingPaintV2Enabled() &&
next_state == kInCompositingUpdate)
return true;
- if (RuntimeEnabledFeatures::slimmingPaintV2Enabled() &&
+ if (RuntimeEnabledFeatures::slimmingPaintInvalidationEnabled() &&
Xianzhu 2017/04/20 21:01:13 This is for the test to work. This also makes tra
next_state == kInPrePaint)
return true;
break;
@@ -281,7 +281,7 @@ bool DocumentLifecycle::CanAdvanceTo(LifecycleState next_state) const {
if (!RuntimeEnabledFeatures::slimmingPaintV2Enabled() &&
next_state == kInCompositingUpdate)
return true;
- if (RuntimeEnabledFeatures::slimmingPaintV2Enabled() &&
+ if (RuntimeEnabledFeatures::slimmingPaintInvalidationEnabled() &&
next_state == kInPrePaint)
return true;
break;
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/LayoutObject.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698