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

Unified Diff: Source/modules/webdatabase/SQLVoidCallback.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/SQLVoidCallback.h
diff --git a/Source/modules/webdatabase/SQLVoidCallback.h b/Source/modules/webdatabase/SQLVoidCallback.h
index b4cdff008cd245388b5b2e86a1c23b6773c542ab..e7febeb5cb9760f05605f93ac017b790570beeba 100644
--- a/Source/modules/webdatabase/SQLVoidCallback.h
+++ b/Source/modules/webdatabase/SQLVoidCallback.h
@@ -26,11 +26,10 @@
#ifndef SQLVoidCallback_h
#define SQLVoidCallback_h
-#include "wtf/RefCounted.h"
-
namespace WebCore {
-class SQLVoidCallback : public RefCounted<SQLVoidCallback> {
+// FIXME: Replace this with VoidCallback
+class SQLVoidCallback {
public:
virtual ~SQLVoidCallback() { }
virtual bool handleEvent() = 0;
« no previous file with comments | « Source/modules/webdatabase/SQLTransactionSyncCallback.h ('k') | Source/modules/webdatabase/WorkerGlobalScopeWebDatabase.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698