Chromium Code Reviews| Index: Source/core/dom/Element.h |
| diff --git a/Source/core/dom/Element.h b/Source/core/dom/Element.h |
| index da5786fbbe97d0a6fb29a64b07b1db197598a40b..9fc4d1961116a1b362769cbf20f6571d3a58db93 100644 |
| --- a/Source/core/dom/Element.h |
| +++ b/Source/core/dom/Element.h |
| @@ -816,6 +816,7 @@ inline bool Node::hasClass() const |
| inline Node::InsertionNotificationRequest Node::insertedInto(ContainerNode* insertionPoint) |
| { |
| + ASSERT(!childNeedsStyleInvalidation() && !needsStyleInvalidation()); |
|
esprehn
2014/05/08 05:19:06
ditto
chrishtr
2014/05/08 05:29:18
Done.
|
| ASSERT(insertionPoint->inDocument() || isContainerNode()); |
| if (insertionPoint->inDocument()) |
| setFlag(InDocumentFlag); |