| Index: Source/core/frame/DeprecatedScheduleStyleRecalcDuringLayout.cpp
|
| diff --git a/Source/core/frame/DeprecatedScheduleStyleRecalcDuringLayout.cpp b/Source/core/frame/DeprecatedScheduleStyleRecalcDuringLayout.cpp
|
| index 94367d821680aac14467d1f1de7bd75adab1289a..88f35ae44ee62109cca433ad1d1aea43a400fddc 100644
|
| --- a/Source/core/frame/DeprecatedScheduleStyleRecalcDuringLayout.cpp
|
| +++ b/Source/core/frame/DeprecatedScheduleStyleRecalcDuringLayout.cpp
|
| @@ -11,7 +11,7 @@ namespace WebCore {
|
|
|
| DeprecatedScheduleStyleRecalcDuringLayout::DeprecatedScheduleStyleRecalcDuringLayout(DocumentLifecycle& lifecycle)
|
| : m_lifecycle(lifecycle)
|
| - , m_deprecatedTransition(DocumentLifecycle::InPerformLayout, DocumentLifecycle::StyleRecalcPending)
|
| + , m_deprecatedTransition(DocumentLifecycle::InPerformLayout, DocumentLifecycle::VisualUpdatePending)
|
| , m_wasInPerformLayout(lifecycle.state() == DocumentLifecycle::InPerformLayout)
|
| {
|
| }
|
| @@ -21,7 +21,7 @@ DeprecatedScheduleStyleRecalcDuringLayout::~DeprecatedScheduleStyleRecalcDuringL
|
| // This block of code is intended to restore the state machine to the
|
| // proper state. The style recalc will still have been schedule, however.
|
| if (m_wasInPerformLayout && m_lifecycle.state() != DocumentLifecycle::InPerformLayout) {
|
| - ASSERT(m_lifecycle.state() == DocumentLifecycle::StyleRecalcPending);
|
| + ASSERT(m_lifecycle.state() == DocumentLifecycle::VisualUpdatePending);
|
| m_lifecycle.advanceTo(DocumentLifecycle::InPerformLayout);
|
| }
|
| }
|
|
|