| Index: third_party/WebKit/Source/core/editing/VisibleSelection.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/VisibleSelection.cpp b/third_party/WebKit/Source/core/editing/VisibleSelection.cpp
|
| index 7bff35ae99f6747efcc4e0c4feb8d0ee8f18f826..f6b176597b17079f5351ef4a82f6243430fce545 100644
|
| --- a/third_party/WebKit/Source/core/editing/VisibleSelection.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/VisibleSelection.cpp
|
| @@ -195,19 +195,6 @@ operator=(const VisibleSelectionTemplate<Strategy>& other) {
|
| }
|
|
|
| template <typename Strategy>
|
| -VisibleSelectionTemplate<Strategy>
|
| -VisibleSelectionTemplate<Strategy>::selectionFromContentsOfNode(Node* node) {
|
| - DCHECK(node);
|
| - DCHECK(!Strategy::editingIgnoresContent(node));
|
| - DCHECK(!needsLayoutTreeUpdate(*node));
|
| -
|
| - typename SelectionTemplate<Strategy>::Builder builder;
|
| - builder.collapse(PositionTemplate<Strategy>::firstPositionInNode(node))
|
| - .extend(PositionTemplate<Strategy>::lastPositionInNode(node));
|
| - return VisibleSelectionTemplate::create(builder.build());
|
| -}
|
| -
|
| -template <typename Strategy>
|
| void VisibleSelectionTemplate<Strategy>::setBase(
|
| const PositionTemplate<Strategy>& position) {
|
| DCHECK(!needsLayoutTreeUpdate(position));
|
|
|