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