| Index: Source/core/editing/VisibleUnits.cpp
|
| diff --git a/Source/core/editing/VisibleUnits.cpp b/Source/core/editing/VisibleUnits.cpp
|
| index ace684e80c88e41bb3b602b3d17439ca59a7c46d..9e803fcfdc94d0bdf0a0495a6345ccb0fedb1236 100644
|
| --- a/Source/core/editing/VisibleUnits.cpp
|
| +++ b/Source/core/editing/VisibleUnits.cpp
|
| @@ -541,7 +541,7 @@ static VisiblePosition nextBoundary(const VisiblePosition& c, BoundarySearchFunc
|
|
|
| if (requiresContextForWordBoundary(c.characterAfter())) {
|
| RefPtr<Range> backwardsScanRange(d->createRange());
|
| - backwardsScanRange->setEnd(start.deprecatedNode(), start.deprecatedEditingOffset(), IGNORE_EXCEPTION_STATE);
|
| + backwardsScanRange->setEnd(start.deprecatedNode(), start.deprecatedEditingOffset(), IGNORE_EXCEPTION);
|
| SimplifiedBackwardsTextIterator backwardsIterator(backwardsScanRange.get());
|
| while (!backwardsIterator.atEnd()) {
|
| Vector<UChar, 1024> characters;
|
| @@ -556,8 +556,8 @@ static VisiblePosition nextBoundary(const VisiblePosition& c, BoundarySearchFunc
|
| }
|
| }
|
|
|
| - searchRange->selectNodeContents(boundary, IGNORE_EXCEPTION_STATE);
|
| - searchRange->setStart(start.deprecatedNode(), start.deprecatedEditingOffset(), IGNORE_EXCEPTION_STATE);
|
| + searchRange->selectNodeContents(boundary, IGNORE_EXCEPTION);
|
| + searchRange->setStart(start.deprecatedNode(), start.deprecatedEditingOffset(), IGNORE_EXCEPTION);
|
| TextIterator it(searchRange.get(), TextIteratorEmitsCharactersBetweenAllVisiblePositions);
|
| unsigned next = 0;
|
| bool inTextSecurityMode = start.deprecatedNode() && start.deprecatedNode()->renderer() && start.deprecatedNode()->renderer()->style()->textSecurity() != TSNONE;
|
|
|