| Index: third_party/WebKit/Source/core/editing/Position.h
|
| diff --git a/third_party/WebKit/Source/core/editing/Position.h b/third_party/WebKit/Source/core/editing/Position.h
|
| index 36b043d240894940f985ba1da866fa4b75588981..e0f3cbfb5afde9db847e62f217753fcd84281d3b 100644
|
| --- a/third_party/WebKit/Source/core/editing/Position.h
|
| +++ b/third_party/WebKit/Source/core/editing/Position.h
|
| @@ -284,7 +284,6 @@ int PositionTemplate<Strategy>::lastOffsetInNode(Node* node)
|
| return node->offsetInCharacters() ? node->maxCharacterOffset() : static_cast<int>(Strategy::countChildren(*node));
|
| }
|
|
|
| -// firstPositionInNode and lastPositionInNode return parent-anchored positions, lastPositionInNode construction is O(n) due to countChildren()
|
| template <typename Strategy>
|
| PositionTemplate<Strategy> PositionTemplate<Strategy>::firstPositionInNode(Node* anchorNode)
|
| {
|
| @@ -301,11 +300,6 @@ PositionTemplate<Strategy> PositionTemplate<Strategy>::lastPositionInNode(Node*
|
| return PositionTemplate<Strategy>(anchorNode, PositionAnchorType::AfterChildren);
|
| }
|
|
|
| -inline Position lastPositionInNode(Node* anchorNode)
|
| -{
|
| - return Position::lastPositionInNode(anchorNode);
|
| -}
|
| -
|
| template <typename Strategy>
|
| int PositionTemplate<Strategy>::minOffsetForNode(Node* anchorNode, int offset)
|
| {
|
|
|