| Index: Source/core/dom/ContainerNode.h
|
| diff --git a/Source/core/dom/ContainerNode.h b/Source/core/dom/ContainerNode.h
|
| index 80b9c88c0ab865503673206d6d3bd014a70fc0ea..a1c0cf86266cb9eb20d42c39a2596fb455365a07 100644
|
| --- a/Source/core/dom/ContainerNode.h
|
| +++ b/Source/core/dom/ContainerNode.h
|
| @@ -190,8 +190,8 @@ inline void ContainerNode::attachChildren(const AttachContext& context)
|
| childrenContext.resolvedStyle = 0;
|
|
|
| for (Node* child = firstChild(); child; child = child->nextSibling()) {
|
| - ASSERT(!child->attached() || childAttachedAllowedWhenAttachingChildren(this));
|
| - if (!child->attached())
|
| + ASSERT(!child->confusingAndOftenMisusedAttached() || childAttachedAllowedWhenAttachingChildren(this));
|
| + if (!child->confusingAndOftenMisusedAttached())
|
| child->attach(childrenContext);
|
| }
|
| }
|
|
|