| Index: Source/core/editing/VisibleUnits.cpp
|
| diff --git a/Source/core/editing/VisibleUnits.cpp b/Source/core/editing/VisibleUnits.cpp
|
| index 11cd1acc3373893dfb8990e5d27d9cc278466853..600242cd26b837263d61518265d3375ef641610c 100644
|
| --- a/Source/core/editing/VisibleUnits.cpp
|
| +++ b/Source/core/editing/VisibleUnits.cpp
|
| @@ -460,11 +460,11 @@ static VisiblePosition previousBoundary(const VisiblePosition& c, BoundarySearch
|
| Vector<UChar, 1024> string;
|
| unsigned suffixLength = 0;
|
|
|
| - TrackExceptionState es;
|
| + TrackExceptionState exceptionState;
|
| if (requiresContextForWordBoundary(c.characterBefore())) {
|
| RefPtr<Range> forwardsScanRange(d.createRange());
|
| - forwardsScanRange->setEndAfter(boundary, es);
|
| - forwardsScanRange->setStart(end.deprecatedNode(), end.deprecatedEditingOffset(), es);
|
| + forwardsScanRange->setEndAfter(boundary, exceptionState);
|
| + forwardsScanRange->setStart(end.deprecatedNode(), end.deprecatedEditingOffset(), exceptionState);
|
| TextIterator forwardsIterator(forwardsScanRange.get());
|
| while (!forwardsIterator.atEnd()) {
|
| Vector<UChar, 1024> characters;
|
| @@ -478,11 +478,11 @@ static VisiblePosition previousBoundary(const VisiblePosition& c, BoundarySearch
|
| }
|
| }
|
|
|
| - searchRange->setStart(start.deprecatedNode(), start.deprecatedEditingOffset(), es);
|
| - searchRange->setEnd(end.deprecatedNode(), end.deprecatedEditingOffset(), es);
|
| + searchRange->setStart(start.deprecatedNode(), start.deprecatedEditingOffset(), exceptionState);
|
| + searchRange->setEnd(end.deprecatedNode(), end.deprecatedEditingOffset(), exceptionState);
|
|
|
| - ASSERT(!es.hadException());
|
| - if (es.hadException())
|
| + ASSERT(!exceptionState.hadException());
|
| + if (exceptionState.hadException())
|
| return VisiblePosition();
|
|
|
| SimplifiedBackwardsTextIterator it(searchRange.get());
|
|
|