Index: third_party/WebKit/Source/core/dom/ContainerNode.cpp |
diff --git a/third_party/WebKit/Source/core/dom/ContainerNode.cpp b/third_party/WebKit/Source/core/dom/ContainerNode.cpp |
index 832952dc10b03caca5e147001b3f0f4e2251245a..2ee1257276b57493dbe2713a342f4d9e6fd0b660 100644 |
--- a/third_party/WebKit/Source/core/dom/ContainerNode.cpp |
+++ b/third_party/WebKit/Source/core/dom/ContainerNode.cpp |
@@ -606,7 +606,7 @@ void ContainerNode::removeBetween(Node* previousChild, Node* nextChild, Node& ol |
AttachContext context; |
context.clearInvalidation = true; |
- if (!needsAttach() || !oldChild.needsAttach()) |
+ if (!oldChild.needsAttach()) |
oldChild.detach(context); |
if (nextChild) |