diff options
Diffstat (limited to 'Source/WebCore/dom/Document.cpp')
| -rw-r--r-- | Source/WebCore/dom/Document.cpp | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/Source/WebCore/dom/Document.cpp b/Source/WebCore/dom/Document.cpp index 8c22da8..60d3af1 100644 --- a/Source/WebCore/dom/Document.cpp +++ b/Source/WebCore/dom/Document.cpp @@ -1527,6 +1527,8 @@ bail_out:      clearNeedsStyleRecalc();      clearChildNeedsStyleRecalc();      unscheduleStyleRecalc(); + +    m_inStyleRecalc = false;      // Pseudo element removal and similar may only work with these flags still set. Reset them after the style recalc.      if (m_styleSelector) { @@ -1542,7 +1544,6 @@ bail_out:      }      RenderWidget::resumeWidgetHierarchyUpdates();      resumePostAttachCallbacks(); -    m_inStyleRecalc = false;      // If we wanted to call implicitClose() during recalcStyle, do so now that we're finished.      if (m_closeAfterStyleRecalc) { | 
