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

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: 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..5cee4f525c7a1312e73d6d4fec89380477b46506 100644
--- a/Source/modules/webdatabase/SQLVoidCallback.h
+++ b/Source/modules/webdatabase/SQLVoidCallback.h
@@ -26,11 +26,9 @@
#ifndef SQLVoidCallback_h
#define SQLVoidCallback_h
-#include "wtf/RefCounted.h"
-
namespace WebCore {
-class SQLVoidCallback : public RefCounted<SQLVoidCallback> {
+class SQLVoidCallback {
public:
virtual ~SQLVoidCallback() { }
virtual bool handleEvent() = 0;

Powered by Google App Engine
This is Rietveld 408576698