| Index: Source/web/WebRange.cpp
|
| diff --git a/Source/web/WebRange.cpp b/Source/web/WebRange.cpp
|
| index cacc63a3545980a3f08292aaa413d96eab0f3d6a..ea433bc83975a5ffdea3ba4b807f0a96d9ac17a3 100644
|
| --- a/Source/web/WebRange.cpp
|
| +++ b/Source/web/WebRange.cpp
|
| @@ -81,18 +81,18 @@ int WebRange::endOffset() const
|
| WebNode WebRange::startContainer(WebExceptionCode& exceptionCode) const
|
| {
|
| // FIXME: Create a wrapper class that just sets the internal int.
|
| - TrackExceptionState es;
|
| - RefPtr<Node> node(m_private->startContainer(es));
|
| - exceptionCode = es.code();
|
| + TrackExceptionState exceptionState;
|
| + RefPtr<Node> node(m_private->startContainer(exceptionState));
|
| + exceptionCode = exceptionState.code();
|
| return node.release();
|
| }
|
|
|
| WebNode WebRange::endContainer(WebExceptionCode& exceptionCode) const
|
| {
|
| // FIXME: Create a wrapper class that just sets the internal int.
|
| - TrackExceptionState es;
|
| - RefPtr<Node> node(m_private->endContainer(es));
|
| - exceptionCode = es.code();
|
| + TrackExceptionState exceptionState;
|
| + RefPtr<Node> node(m_private->endContainer(exceptionState));
|
| + exceptionCode = exceptionState.code();
|
| return node.release();
|
| }
|
|
|
|
|