Index: Source/core/dom/Node.h |
diff --git a/Source/core/dom/Node.h b/Source/core/dom/Node.h |
index 62320d69a0650b60d90be5fa5c2fd077f01de6e5..978ddb034e27e7bb85854ae26e1ed328069beb8a 100644 |
--- a/Source/core/dom/Node.h |
+++ b/Source/core/dom/Node.h |
@@ -905,8 +905,11 @@ inline void Node::lazyReattachIfAttached() |
inline void Node::lazyReattach(ShouldSetAttached shouldSetAttached) |
{ |
+ AttachContext context; |
+ context.performingReattach = true; |
+ |
if (attached()) |
- detach(); |
+ detach(context); |
lazyAttach(shouldSetAttached); |
} |