Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / modules / webdatabase / DatabaseAuthorizer.h
index 92da16c..5ecd2de 100644 (file)
@@ -31,7 +31,6 @@
 #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"
 
@@ -40,7 +39,7 @@ namespace blink {
 extern const int SQLAuthAllow;
 extern const int SQLAuthDeny;
 
-class DatabaseAuthorizer : public ThreadSafeRefCountedWillBeGarbageCollectedFinalized<DatabaseAuthorizer> {
+class DatabaseAuthorizer : public GarbageCollectedFinalized<DatabaseAuthorizer> {
 public:
 
     enum Permissions {
@@ -49,7 +48,7 @@ public:
         NoAccessMask = 1 << 2
     };
 
-    static PassRefPtrWillBeRawPtr<DatabaseAuthorizer> create(const String& databaseInfoTableName);
+    static DatabaseAuthorizer* create(const String& databaseInfoTableName);
     void trace(Visitor*) { }
 
     int createTable(const String& tableName);