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

Unified Diff: Source/modules/webdatabase/DatabaseAuthorizer.h

Issue 210853002: Oilpan: Prepare to move DatabaseAuthorizer to Oilpan heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 months 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
« no previous file with comments | « no previous file | Source/modules/webdatabase/DatabaseAuthorizer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « no previous file | Source/modules/webdatabase/DatabaseAuthorizer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698