| Index: Source/modules/webdatabase/SQLStatementSync.cpp
|
| diff --git a/Source/modules/webdatabase/SQLStatementSync.cpp b/Source/modules/webdatabase/SQLStatementSync.cpp
|
| index 17f1b700fa519b275f9c29055f78a4fb6318b75e..3eea1d4aa4c27f041c5c0fc50dfc8c9969e021b5 100644
|
| --- a/Source/modules/webdatabase/SQLStatementSync.cpp
|
| +++ b/Source/modules/webdatabase/SQLStatementSync.cpp
|
| @@ -50,7 +50,7 @@ SQLStatementSync::SQLStatementSync(const String& statement, const Vector<SQLValu
|
| ASSERT(!m_statement.isEmpty());
|
| }
|
|
|
| -PassRefPtr<SQLResultSet> SQLStatementSync::execute(DatabaseSync* db, ExceptionState& exceptionState)
|
| +PassRefPtrWillBeRawPtr<SQLResultSet> SQLStatementSync::execute(DatabaseSync* db, ExceptionState& exceptionState)
|
| {
|
| db->setAuthorizerPermissions(m_permissions);
|
|
|
| @@ -91,7 +91,7 @@ PassRefPtr<SQLResultSet> SQLStatementSync::execute(DatabaseSync* db, ExceptionSt
|
| }
|
| }
|
|
|
| - RefPtr<SQLResultSet> resultSet = SQLResultSet::create();
|
| + RefPtrWillBeRawPtr<SQLResultSet> resultSet = SQLResultSet::create();
|
|
|
| // Step so we can fetch the column names.
|
| result = statement.step();
|
| @@ -134,6 +134,7 @@ PassRefPtr<SQLResultSet> SQLStatementSync::execute(DatabaseSync* db, ExceptionSt
|
| }
|
|
|
| resultSet->setRowsAffected(database->lastChanges());
|
| + resultSet->setValid();
|
| return resultSet.release();
|
| }
|
|
|
|
|