Chromium Code Reviews| Index: Source/core/dom/DocumentLifecycle.cpp |
| diff --git a/Source/core/dom/DocumentLifecycle.cpp b/Source/core/dom/DocumentLifecycle.cpp |
| index 59346de54fe7f197b9ed219f1e935cf1710852f8..c8c2439730dfd0464af826a49d759700536b6716 100644 |
| --- a/Source/core/dom/DocumentLifecycle.cpp |
| +++ b/Source/core/dom/DocumentLifecycle.cpp |
| @@ -130,6 +130,8 @@ bool DocumentLifecycle::canAdvanceTo(State state) const |
| if (m_state == CompositingClean) { |
| if (state == InStyleRecalc) |
| return true; |
| + if (state == InPreLayout) |
|
esprehn
2015/03/24 23:01:03
If we're in pre layout tasks why would we advance
qiankun
2015/03/25 03:13:59
It allows advancing document life cycle from Compo
|
| + return true; |
| if (state == InCompositingUpdate) |
| return true; |
| if (state == InPaintInvalidation) |