| Index: Source/core/dom/Element.h
|
| diff --git a/Source/core/dom/Element.h b/Source/core/dom/Element.h
|
| index da5786fbbe97d0a6fb29a64b07b1db197598a40b..2e81754a91999992fa0b2bda9dec32c0f37f5b22 100644
|
| --- a/Source/core/dom/Element.h
|
| +++ b/Source/core/dom/Element.h
|
| @@ -816,6 +816,8 @@ inline bool Node::hasClass() const
|
|
|
| inline Node::InsertionNotificationRequest Node::insertedInto(ContainerNode* insertionPoint)
|
| {
|
| + ASSERT(!childNeedsStyleInvalidation());
|
| + ASSERT(!needsStyleInvalidation());
|
| ASSERT(insertionPoint->inDocument() || isContainerNode());
|
| if (insertionPoint->inDocument())
|
| setFlag(InDocumentFlag);
|
|
|