Chromium Code Reviews| 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; |