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

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

Issue 1287093004: Slimming Paint phase 2 compositing algorithm plumbing (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Minor cleanup Created 5 years, 4 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: Source/core/dom/DocumentLifecycle.cpp
diff --git a/Source/core/dom/DocumentLifecycle.cpp b/Source/core/dom/DocumentLifecycle.cpp
index 25abf3c9c49481710b9a62c380547cdd91aec1c1..7b2ed8c0fe793b6ae7c41669204a6b853437c491 100644
--- a/Source/core/dom/DocumentLifecycle.cpp
+++ b/Source/core/dom/DocumentLifecycle.cpp
@@ -31,6 +31,7 @@
#include "config.h"
#include "core/dom/DocumentLifecycle.h"
+#include "platform/RuntimeEnabledFeatures.h"
#include "wtf/Assertions.h"
namespace blink {
@@ -172,6 +173,8 @@ bool DocumentLifecycle::canAdvanceTo(State state) const
return true;
if (state == InCompositingUpdate)
return true;
+ if (RuntimeEnabledFeatures::slimmingPaintV2Enabled() && state == InPaintInvalidation)
chrishtr 2015/08/13 17:28:31 Also add the paint lifecycle stage in this CL.
pdr. 2015/08/13 20:54:59 Done. As discussed offline, it'll be difficult to
+ return true;
break;
case InCompositingUpdate:
return state == CompositingClean;

Powered by Google App Engine
This is Rietveld 408576698