| Index: Source/modules/webdatabase/SQLResultSet.cpp
|
| diff --git a/Source/modules/webdatabase/SQLResultSet.cpp b/Source/modules/webdatabase/SQLResultSet.cpp
|
| index b467578e6675a4bc998f2629ea6d6ecaedd2195e..55b7c66a93e65dc9676776c89f206438bf01f019 100644
|
| --- a/Source/modules/webdatabase/SQLResultSet.cpp
|
| +++ b/Source/modules/webdatabase/SQLResultSet.cpp
|
| @@ -31,18 +31,25 @@
|
|
|
| #include "bindings/v8/ExceptionState.h"
|
| #include "core/dom/ExceptionCode.h"
|
| +#include "heap/Handle.h"
|
|
|
| namespace WebCore {
|
|
|
| SQLResultSet::SQLResultSet()
|
| : m_rows(SQLResultSetRowList::create())
|
| , m_insertId(0)
|
| - , m_insertIdSet(false)
|
| , m_rowsAffected(0)
|
| + , m_insertIdSet(false)
|
| + , m_isValid(false)
|
| {
|
| ScriptWrappable::init(this);
|
| }
|
|
|
| +void SQLResultSet::trace(Visitor* visitor)
|
| +{
|
| + visitor->trace(m_rows);
|
| +}
|
| +
|
| int64_t SQLResultSet::insertId(ExceptionState& exceptionState) const
|
| {
|
| // 4.11.4 - Return the id of the last row inserted as a result of the query
|
|
|