| Index: Source/core/dom/NodeTraversal.h
|
| diff --git a/Source/core/dom/NodeTraversal.h b/Source/core/dom/NodeTraversal.h
|
| index a3dbe6ed57f75c3530b24ad318694325a7c1d3c9..7644a66511b80e11124e0ab8e66cdd72f7083f86 100644
|
| --- a/Source/core/dom/NodeTraversal.h
|
| +++ b/Source/core/dom/NodeTraversal.h
|
| @@ -45,8 +45,10 @@ public:
|
| static Node* nextSkippingChildren(const Node&);
|
| static Node* nextSkippingChildren(const Node&, const Node* stayWithin);
|
|
|
| - // Does a reverse pre-order traversal to find the node that comes before the current one in document order
|
| static Node* lastWithin(const ContainerNode&);
|
| + static Node& lastWithinOrSelf(Node&);
|
| +
|
| + // Does a reverse pre-order traversal to find the node that comes before the current one in document order
|
| static Node* previous(const Node&, const Node* stayWithin = 0);
|
|
|
| // Like previous, but skips children and starts with the next sibling.
|
|
|