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