| Index: Source/core/dom/Element.cpp
|
| diff --git a/Source/core/dom/Element.cpp b/Source/core/dom/Element.cpp
|
| index 95d6824d5e7e8884895744412924fe18f00ce21b..7e22a274315880b46360afe523ca278cf3ed5296 100644
|
| --- a/Source/core/dom/Element.cpp
|
| +++ b/Source/core/dom/Element.cpp
|
| @@ -1569,6 +1569,7 @@ void Element::recalcStyle(StyleRecalcChange change, Text* nextTextSibling)
|
| {
|
| ASSERT(document().inStyleRecalc());
|
| ASSERT(!parentOrShadowHostNode()->needsStyleRecalc());
|
| + ASSERT(inActiveDocument());
|
|
|
| if (hasCustomStyleCallbacks())
|
| willRecalcStyle(change);
|
|
|