| Index: Source/core/dom/NodeIterator.cpp
|
| diff --git a/Source/core/dom/NodeIterator.cpp b/Source/core/dom/NodeIterator.cpp
|
| index 35c912fe65a5aa2cfc48d4d211dca7f5362ad158..8fd7d2807004af5d8222f3def6199fd9b05acf58 100644
|
| --- a/Source/core/dom/NodeIterator.cpp
|
| +++ b/Source/core/dom/NodeIterator.cpp
|
| @@ -90,7 +90,7 @@ PassRefPtr<Node> NodeIterator::nextNode(ScriptState* state, ExceptionState& exce
|
| {
|
| if (m_detached) {
|
| exceptionState.throwDOMException(InvalidStateError, "The iterator is detached.");
|
| - return 0;
|
| + return nullptr;
|
| }
|
|
|
| RefPtr<Node> result;
|
| @@ -119,7 +119,7 @@ PassRefPtr<Node> NodeIterator::previousNode(ScriptState* state, ExceptionState&
|
| {
|
| if (m_detached) {
|
| exceptionState.throwDOMException(InvalidStateError, "The iterator is detached.");
|
| - return 0;
|
| + return nullptr;
|
| }
|
|
|
| RefPtr<Node> result;
|
|
|