Index: Source/core/dom/ContainerNode.cpp |
diff --git a/Source/core/dom/ContainerNode.cpp b/Source/core/dom/ContainerNode.cpp |
index 2505987c1717cc407bd1e1d5b070b9769f7c87af..1fc7c062329e46aa4feb42bd357caa83c64ace83 100644 |
--- a/Source/core/dom/ContainerNode.cpp |
+++ b/Source/core/dom/ContainerNode.cpp |
@@ -665,7 +665,7 @@ void ContainerNode::notifyNodeInserted(Node& root) |
InspectorInstrumentation::didInsertDOMNode(&root); |
- RefPtr<Node> protectDocument(root.document()); |
+ RefPtr<Node> protect(this); |
RefPtr<Node> protectNode(root); |
NodeVector postInsertionNotificationTargets; |