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