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

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

Issue 2839463002: 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 d420fd421d57c298d31d9d198496d549beb8cff7..b5e80ea111e90c4c89d65e5bf2dbbd665f8f8f18 100644
--- a/third_party/WebKit/Source/core/dom/DocumentLifecycle.cpp
+++ b/third_party/WebKit/Source/core/dom/DocumentLifecycle.cpp
@@ -250,7 +250,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;
@@ -266,7 +266,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