| Index: Source/core/dom/NodeIterator.cpp
|
| diff --git a/Source/core/dom/NodeIterator.cpp b/Source/core/dom/NodeIterator.cpp
|
| index 66cf2b683eb0bd69bcdab0b51af8023b0e896dd0..2643139d99623c6dc21b4ba48ed5dba6f6564cab 100644
|
| --- a/Source/core/dom/NodeIterator.cpp
|
| +++ b/Source/core/dom/NodeIterator.cpp
|
| @@ -88,10 +88,10 @@ NodeIterator::~NodeIterator()
|
| root()->document().detachNodeIterator(this);
|
| }
|
|
|
| -PassRefPtr<Node> NodeIterator::nextNode(ScriptState* state, ExceptionState& es)
|
| +PassRefPtr<Node> NodeIterator::nextNode(ScriptState* state, ExceptionState& exceptionState)
|
| {
|
| if (m_detached) {
|
| - es.throwDOMException(InvalidStateError, ExceptionMessages::failedToExecute("nextNode", "NodeIterator", "The iterator is detached."));
|
| + exceptionState.throwDOMException(InvalidStateError, ExceptionMessages::failedToExecute("nextNode", "NodeIterator", "The iterator is detached."));
|
| return 0;
|
| }
|
|
|
| @@ -117,10 +117,10 @@ PassRefPtr<Node> NodeIterator::nextNode(ScriptState* state, ExceptionState& es)
|
| return result.release();
|
| }
|
|
|
| -PassRefPtr<Node> NodeIterator::previousNode(ScriptState* state, ExceptionState& es)
|
| +PassRefPtr<Node> NodeIterator::previousNode(ScriptState* state, ExceptionState& exceptionState)
|
| {
|
| if (m_detached) {
|
| - es.throwDOMException(InvalidStateError, ExceptionMessages::failedToExecute("previousNode", "NodeIterator", "The iterator is detached."));
|
| + exceptionState.throwDOMException(InvalidStateError, ExceptionMessages::failedToExecute("previousNode", "NodeIterator", "The iterator is detached."));
|
| return 0;
|
| }
|
|
|
|
|