| Index: Source/core/dom/Element.cpp
|
| diff --git a/Source/core/dom/Element.cpp b/Source/core/dom/Element.cpp
|
| index 29b4db06fdf6d4fd32fe08c5276991ba52010a8a..f874b195e18f89a1dd05356a130ed7da76fc8478 100644
|
| --- a/Source/core/dom/Element.cpp
|
| +++ b/Source/core/dom/Element.cpp
|
| @@ -1601,6 +1601,7 @@ PassRefPtr<ComputedStyle> Element::originalStyleForLayoutObject()
|
| void Element::recalcStyle(StyleRecalcChange change, Text* nextTextSibling)
|
| {
|
| ASSERT(document().inStyleRecalc());
|
| + ASSERT(!document().lifecycle().inDetach());
|
| ASSERT(!parentOrShadowHostNode()->needsStyleRecalc());
|
| ASSERT(inActiveDocument());
|
|
|
|
|