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

Unified Diff: Source/modules/webdatabase/SQLTransactionSyncCallback.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/SQLTransactionSync.cpp ('k') | Source/modules/webdatabase/SQLVoidCallback.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webdatabase/SQLTransactionSyncCallback.h
diff --git a/Source/modules/webdatabase/SQLTransactionSyncCallback.h b/Source/modules/webdatabase/SQLTransactionSyncCallback.h
index b49ce4cfeb8230f46cfc16c2e5c988598ab38a16..aa8f71b25bffe617de73ff84fb0b1c647f487813 100644
--- a/Source/modules/webdatabase/SQLTransactionSyncCallback.h
+++ b/Source/modules/webdatabase/SQLTransactionSyncCallback.h
@@ -31,14 +31,12 @@
#ifndef SQLTransactionSyncCallback_h
#define SQLTransactionSyncCallback_h
-#include "wtf/RefCounted.h"
-
namespace WebCore {
class SQLTransactionSync;
// Instances of this class should be created and used only on the worker's context thread.
-class SQLTransactionSyncCallback : public RefCounted<SQLTransactionSyncCallback> {
+class SQLTransactionSyncCallback {
public:
virtual ~SQLTransactionSyncCallback() { }
virtual bool handleEvent(SQLTransactionSync*) = 0;
« no previous file with comments | « Source/modules/webdatabase/SQLTransactionSync.cpp ('k') | Source/modules/webdatabase/SQLVoidCallback.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698