| Index: Source/modules/webdatabase/SQLResultSet.cpp
|
| diff --git a/Source/modules/webdatabase/SQLResultSet.cpp b/Source/modules/webdatabase/SQLResultSet.cpp
|
| index 0a1969d717018fe212eb66ae234fd464c7236640..b3e11544e630a8678e5f7f9665d6e5c60688bf76 100644
|
| --- a/Source/modules/webdatabase/SQLResultSet.cpp
|
| +++ b/Source/modules/webdatabase/SQLResultSet.cpp
|
| @@ -47,11 +47,11 @@ SQLResultSet::SQLResultSet()
|
| int64_t SQLResultSet::insertId(ExceptionCode& e) 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 INVALID_ACCESS_ERR exception
|
| + // If the query didn't result in any rows being added, raise an InvalidAccessError exception
|
| if (m_insertIdSet)
|
| return m_insertId;
|
|
|
| - e = INVALID_ACCESS_ERR;
|
| + e = InvalidAccessError;
|
| return -1;
|
| }
|
|
|
|
|