| Index: Source/core/editing/VisibleSelection.cpp
|
| diff --git a/Source/core/editing/VisibleSelection.cpp b/Source/core/editing/VisibleSelection.cpp
|
| index 22ed2e399c967e60729b4508d887b513c2ed3c1d..22bb977cf9f2542b10873ac3ac09b079e946943e 100644
|
| --- a/Source/core/editing/VisibleSelection.cpp
|
| +++ b/Source/core/editing/VisibleSelection.cpp
|
| @@ -218,14 +218,14 @@ static PassRefPtr<Range> makeSearchRange(const Position& pos)
|
| return 0;
|
|
|
| RefPtr<Range> searchRange(Range::create(d));
|
| - TrackExceptionState es;
|
| + TrackExceptionState exceptionState;
|
|
|
| Position start(pos.parentAnchoredEquivalent());
|
| - searchRange->selectNodeContents(boundary, es);
|
| - searchRange->setStart(start.containerNode(), start.offsetInContainerNode(), es);
|
| + searchRange->selectNodeContents(boundary, exceptionState);
|
| + searchRange->setStart(start.containerNode(), start.offsetInContainerNode(), exceptionState);
|
|
|
| - ASSERT(!es.hadException());
|
| - if (es.hadException())
|
| + ASSERT(!exceptionState.hadException());
|
| + if (exceptionState.hadException())
|
| return 0;
|
|
|
| return searchRange.release();
|
|
|