| Index: Source/modules/webdatabase/SQLResultSet.cpp
|
| diff --git a/Source/modules/webdatabase/SQLResultSet.cpp b/Source/modules/webdatabase/SQLResultSet.cpp
|
| index 0fb72d7fe4e9a84ef874ed6f6aab9b13b8dc037b..7985a8edb6da8202bd40a866d99aa6887983d73e 100644
|
| --- a/Source/modules/webdatabase/SQLResultSet.cpp
|
| +++ b/Source/modules/webdatabase/SQLResultSet.cpp
|
| @@ -29,7 +29,6 @@
|
| #include "config.h"
|
| #include "modules/webdatabase/SQLResultSet.h"
|
|
|
| -#include "bindings/v8/ExceptionState.h"
|
| #include "core/dom/ExceptionCode.h"
|
|
|
| namespace WebCore {
|
| @@ -45,14 +44,14 @@ SQLResultSet::SQLResultSet()
|
| ScriptWrappable::init(this);
|
| }
|
|
|
| -int64_t SQLResultSet::insertId(ExceptionState& es) const
|
| +int64_t SQLResultSet::insertId(ExceptionCode& ec) const
|
| {
|
| // 4.11.4 - Return the id of the last row inserted as a result of the query
|
| // If the query didn't result in any rows being added, raise an InvalidAccessError exception
|
| if (m_insertIdSet)
|
| return m_insertId;
|
|
|
| - es.throwDOMException(InvalidAccessError);
|
| + ec = InvalidAccessError;
|
| return -1;
|
| }
|
|
|
|
|