| Index: third_party/WebKit/Source/core/dom/Range.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/Range.cpp b/third_party/WebKit/Source/core/dom/Range.cpp
|
| index cd584d417eac1d984e47fb3e70216029cbc41651..700a2da329297c17ff977c39b43e9de33b8b470a 100644
|
| --- a/third_party/WebKit/Source/core/dom/Range.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Range.cpp
|
| @@ -1337,24 +1337,6 @@ bool areRangesEqual(const Range* a, const Range* b)
|
| return a->startPosition() == b->startPosition() && a->endPosition() == b->endPosition();
|
| }
|
|
|
| -static inline void boundaryNodeChildrenChanged(RangeBoundaryPoint& boundary, ContainerNode* container)
|
| -{
|
| - boundary.markValid();
|
| - if (!boundary.childBefore())
|
| - return;
|
| - if (boundary.container() != container)
|
| - return;
|
| - boundary.invalidateOffset();
|
| -}
|
| -
|
| -void Range::nodeChildrenChanged(ContainerNode* container)
|
| -{
|
| - DCHECK(container);
|
| - DCHECK_EQ(container->document(), m_ownerDocument);
|
| - boundaryNodeChildrenChanged(m_start, container);
|
| - boundaryNodeChildrenChanged(m_end, container);
|
| -}
|
| -
|
| static inline void boundaryNodeChildrenWillBeRemoved(RangeBoundaryPoint& boundary, ContainerNode& container)
|
| {
|
| for (Node* nodeToBeRemoved = container.firstChild(); nodeToBeRemoved; nodeToBeRemoved = nodeToBeRemoved->nextSibling()) {
|
|
|