Chromium Code Reviews| Index: Source/core/xml/XPathResult.cpp |
| diff --git a/Source/core/xml/XPathResult.cpp b/Source/core/xml/XPathResult.cpp |
| index 3f386df15f578517aad48ae10ea8a399dacb34a9..7929064138af89b2a6cf8a2634d40ac99e7d7de6 100644 |
| --- a/Source/core/xml/XPathResult.cpp |
| +++ b/Source/core/xml/XPathResult.cpp |
| @@ -185,7 +185,7 @@ Node* XPathResult::iterateNext(ExceptionCode& ec) |
| } |
| if (invalidIteratorState()) { |
| - ec = INVALID_STATE_ERR; |
| + ec = InvalidStateError; |
| return 0; |
| } |