| Index: Source/core/dom/ContainerNodeAlgorithms.h
|
| diff --git a/Source/core/dom/ContainerNodeAlgorithms.h b/Source/core/dom/ContainerNodeAlgorithms.h
|
| index c6014f3598e04f325a85d8f7fc341f110ff34a58..9e7afc21cabce27310c1991d94cb64465c79b9fd 100644
|
| --- a/Source/core/dom/ContainerNodeAlgorithms.h
|
| +++ b/Source/core/dom/ContainerNodeAlgorithms.h
|
| @@ -66,22 +66,6 @@ inline void removeDetachedChildrenInContainer(GenericNodeContainer& container)
|
| }
|
| #endif
|
|
|
| -template<class GenericNode, class GenericNodeContainer>
|
| -inline void appendChildToContainer(GenericNode& child, GenericNodeContainer& container)
|
| -{
|
| - child.setParentOrShadowHostNode(&container);
|
| -
|
| - GenericNode* lastChild = container.lastChild();
|
| - if (lastChild) {
|
| - child.setPreviousSibling(lastChild);
|
| - lastChild->setNextSibling(&child);
|
| - } else {
|
| - container.setFirstChild(&child);
|
| - }
|
| -
|
| - container.setLastChild(&child);
|
| -}
|
| -
|
| // Helper methods for removeDetachedChildrenInContainer, hidden from WebCore namespace
|
| namespace Private {
|
|
|
|
|