Index: Source/core/dom/ContainerNode.cpp |
diff --git a/Source/core/dom/ContainerNode.cpp b/Source/core/dom/ContainerNode.cpp |
index 2ff675db23366afd3fe02d3fccfee77f9f185e1b..6ac1cbedb08ff2497b700a66eb89f391dd953afd 100644 |
--- a/Source/core/dom/ContainerNode.cpp |
+++ b/Source/core/dom/ContainerNode.cpp |
@@ -280,7 +280,7 @@ void ContainerNode::parserInsertBefore(PassRefPtrWillBeRawPtr<Node> newChild, No |
RefPtrWillBeRawPtr<Node> protect(this); |
- if (nextChild.previousSibling() == newChild || nextChild == newChild) // nothing to do |
+ if (nextChild.previousSibling() == newChild || &nextChild == newChild) // nothing to do |
return; |
if (document() != newChild->document()) |