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

Unified Diff: Source/modules/webdatabase/SQLStatementErrorCallback.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/SQLStatementErrorCallback.h
diff --git a/Source/modules/webdatabase/SQLStatementErrorCallback.h b/Source/modules/webdatabase/SQLStatementErrorCallback.h
index d6ed96185784ed32c2de3c572994eb88986cacac..119cf0b797a7d520fe9b798df9cd658db1281ce1 100644
--- a/Source/modules/webdatabase/SQLStatementErrorCallback.h
+++ b/Source/modules/webdatabase/SQLStatementErrorCallback.h
@@ -29,14 +29,12 @@
#ifndef SQLStatementErrorCallback_h
#define SQLStatementErrorCallback_h
-#include "wtf/ThreadSafeRefCounted.h"
-
namespace WebCore {
class SQLTransaction;
class SQLError;
-class SQLStatementErrorCallback : public ThreadSafeRefCounted<SQLStatementErrorCallback> {
+class SQLStatementErrorCallback {
public:
virtual ~SQLStatementErrorCallback() { }
virtual bool handleEvent(SQLTransaction*, SQLError*) = 0;

Powered by Google App Engine
This is Rietveld 408576698