| Index: third_party/WebKit/Source/core/editing/iterators/TextIterator.h
|
| diff --git a/third_party/WebKit/Source/core/editing/iterators/TextIterator.h b/third_party/WebKit/Source/core/editing/iterators/TextIterator.h
|
| index fd420e0ff9d07992c34fa24e46fa4dd5fc0cb12b..e3017778616507f6cd7917b4e90331d3f3e7a950 100644
|
| --- a/third_party/WebKit/Source/core/editing/iterators/TextIterator.h
|
| +++ b/third_party/WebKit/Source/core/editing/iterators/TextIterator.h
|
| @@ -59,6 +59,12 @@ class CORE_TEMPLATE_CLASS_EXPORT TextIteratorAlgorithm {
|
| TextIteratorAlgorithm(const PositionTemplate<Strategy>& start,
|
| const PositionTemplate<Strategy>& end,
|
| const TextIteratorBehavior& = TextIteratorBehavior());
|
| +
|
| + // Same behavior as previous constructor but takes an EphemeralRange instead
|
| + // of two Positions
|
| + TextIteratorAlgorithm(const EphemeralRangeTemplate<Strategy>&,
|
| + const TextIteratorBehavior& = TextIteratorBehavior());
|
| +
|
| ~TextIteratorAlgorithm();
|
|
|
| bool AtEnd() const { return !text_state_.PositionNode() || should_stop_; }
|
|
|