Index: Source/modules/webdatabase/DatabaseAuthorizer.h |
diff --git a/Source/modules/webdatabase/DatabaseAuthorizer.h b/Source/modules/webdatabase/DatabaseAuthorizer.h |
index 4f8a567f6e4ca45083e2207c41014f82bd12331a..ecc9396d82434a3b933ca38fe266428c1b257c6b 100644 |
--- a/Source/modules/webdatabase/DatabaseAuthorizer.h |
+++ b/Source/modules/webdatabase/DatabaseAuthorizer.h |
@@ -28,6 +28,7 @@ |
#ifndef DatabaseAuthorizer_h |
#define DatabaseAuthorizer_h |
+#include "heap/Handle.h" |
#include "wtf/Forward.h" |
#include "wtf/HashSet.h" |
#include "wtf/ThreadSafeRefCounted.h" |
@@ -39,7 +40,7 @@ namespace WebCore { |
extern const int SQLAuthAllow; |
extern const int SQLAuthDeny; |
-class DatabaseAuthorizer : public ThreadSafeRefCounted<DatabaseAuthorizer> { |
+class DatabaseAuthorizer : public ThreadSafeRefCountedWillBeGarbageCollectedFinalized<DatabaseAuthorizer> { |
public: |
enum Permissions { |
@@ -48,7 +49,8 @@ public: |
NoAccessMask = 1 << 2 |
}; |
- static PassRefPtr<DatabaseAuthorizer> create(const String& databaseInfoTableName); |
+ static PassRefPtrWillBeRawPtr<DatabaseAuthorizer> create(const String& databaseInfoTableName); |
+ void trace(Visitor*) { } |
int createTable(const String& tableName); |
int createTempTable(const String& tableName); |