#include "platform/heap/Handle.h"
#include "wtf/Forward.h"
#include "wtf/HashSet.h"
-#include "wtf/ThreadSafeRefCounted.h"
#include "wtf/text/StringHash.h"
#include "wtf/text/WTFString.h"
extern const int SQLAuthAllow;
extern const int SQLAuthDeny;
-class DatabaseAuthorizer : public ThreadSafeRefCountedWillBeGarbageCollectedFinalized<DatabaseAuthorizer> {
+class DatabaseAuthorizer : public GarbageCollectedFinalized<DatabaseAuthorizer> {
public:
enum Permissions {
NoAccessMask = 1 << 2
};
- static PassRefPtrWillBeRawPtr<DatabaseAuthorizer> create(const String& databaseInfoTableName);
+ static DatabaseAuthorizer* create(const String& databaseInfoTableName);
void trace(Visitor*) { }
int createTable(const String& tableName);