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

Unified Diff: Source/modules/webdatabase/DatabaseCallback.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/DatabaseCallback.h
diff --git a/Source/modules/webdatabase/DatabaseCallback.h b/Source/modules/webdatabase/DatabaseCallback.h
index e8b472c7b1b73f7749337ec22d30384188670eb4..f8834cb4e6f958f8db7cdfd1aa61cd63927a616f 100644
--- a/Source/modules/webdatabase/DatabaseCallback.h
+++ b/Source/modules/webdatabase/DatabaseCallback.h
@@ -31,14 +31,12 @@
#ifndef DatabaseCallback_h
#define DatabaseCallback_h
-#include "wtf/ThreadSafeRefCounted.h"
-
namespace WebCore {
class Database;
class DatabaseSync;
-class DatabaseCallback : public ThreadSafeRefCounted<DatabaseCallback> {
+class DatabaseCallback {
public:
virtual ~DatabaseCallback() { }
virtual bool handleEvent(Database*) = 0;

Powered by Google App Engine
This is Rietveld 408576698