| Index: Source/modules/webdatabase/SQLStatement.h
|
| diff --git a/Source/modules/webdatabase/SQLStatement.h b/Source/modules/webdatabase/SQLStatement.h
|
| index e8a2e499268a433fa5d0b3a1936e5197bc40b99e..89c8f79c24361e43f523ce31b342094d0ea9fbec 100644
|
| --- a/Source/modules/webdatabase/SQLStatement.h
|
| +++ b/Source/modules/webdatabase/SQLStatement.h
|
| @@ -48,7 +48,7 @@ class SQLTransaction;
|
| class SQLStatement : public AbstractSQLStatement {
|
| public:
|
| static PassOwnPtr<SQLStatement> create(Database*,
|
| - PassRefPtr<SQLStatementCallback>, PassRefPtr<SQLStatementErrorCallback>);
|
| + PassOwnPtr<SQLStatementCallback>, PassOwnPtr<SQLStatementErrorCallback>);
|
|
|
| bool performCallback(SQLTransaction*);
|
|
|
| @@ -58,7 +58,7 @@ public:
|
| virtual bool hasErrorCallback();
|
|
|
| private:
|
| - SQLStatement(Database*, PassRefPtr<SQLStatementCallback>, PassRefPtr<SQLStatementErrorCallback>);
|
| + SQLStatement(Database*, PassOwnPtr<SQLStatementCallback>, PassOwnPtr<SQLStatementErrorCallback>);
|
|
|
| // The AbstractSQLStatementBackend owns the SQLStatement. Hence, the backend is
|
| // guaranteed to be outlive the SQLStatement, and it is safe for us to refer
|
|
|