Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(110)

Unified Diff: Source/modules/webdatabase/SQLStatement.h

Issue 103473002: Manage WebSQL callbacks with OwnPtr instead of refcounting (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix RefPtr/OwnPtr transition gcc errors Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/modules/webdatabase/SQLCallbackWrapper.h ('k') | Source/modules/webdatabase/SQLStatement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « Source/modules/webdatabase/SQLCallbackWrapper.h ('k') | Source/modules/webdatabase/SQLStatement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698