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

Unified Diff: Source/modules/webdatabase/SQLTransactionSync.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
Index: Source/modules/webdatabase/SQLTransactionSync.h
diff --git a/Source/modules/webdatabase/SQLTransactionSync.h b/Source/modules/webdatabase/SQLTransactionSync.h
index e645341dadfde670b886a8d6184a1bfd1656b839..62aa5d57060ab00c07c2419ba5d8e7709c067f1e 100644
--- a/Source/modules/webdatabase/SQLTransactionSync.h
+++ b/Source/modules/webdatabase/SQLTransactionSync.h
@@ -40,12 +40,12 @@ namespace WebCore {
// Instances of this class should be created and used only on the worker's context thread.
class SQLTransactionSync : public SQLTransactionBackendSync, public ScriptWrappable {
public:
- static PassRefPtr<SQLTransactionSync> create(DatabaseSync*, PassRefPtr<SQLTransactionSyncCallback>, bool readOnly = false);
+ static PassRefPtr<SQLTransactionSync> create(DatabaseSync*, PassOwnPtr<SQLTransactionSyncCallback>, bool readOnly = false);
static SQLTransactionSync* from(SQLTransactionBackendSync*);
private:
- SQLTransactionSync(DatabaseSync*, PassRefPtr<SQLTransactionSyncCallback>, bool readOnly);
+ SQLTransactionSync(DatabaseSync*, PassOwnPtr<SQLTransactionSyncCallback>, bool readOnly);
};
} // namespace WebCore
« no previous file with comments | « Source/modules/webdatabase/SQLTransactionErrorCallback.h ('k') | Source/modules/webdatabase/SQLTransactionSync.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698