Index: third_party/WebKit/Source/modules/webdatabase/DatabaseClient.h |
diff --git a/third_party/WebKit/Source/modules/webdatabase/DatabaseClient.h b/third_party/WebKit/Source/modules/webdatabase/DatabaseClient.h |
index 8e552f0ccb37d88ca97357b7e75d27f54a461eeb..79239d2d37a267b840345699446849d2230a3c85 100644 |
--- a/third_party/WebKit/Source/modules/webdatabase/DatabaseClient.h |
+++ b/third_party/WebKit/Source/modules/webdatabase/DatabaseClient.h |
@@ -44,19 +44,20 @@ class ExecutionContext; |
class InspectorDatabaseAgent; |
class Page; |
-class MODULES_EXPORT DatabaseClient : public Supplement<Page> { |
+class MODULES_EXPORT DatabaseClient : public GarbageCollected<DatabaseClient>, |
+ public Supplement<Page> { |
+ USING_GARBAGE_COLLECTED_MIXIN(DatabaseClient); |
WTF_MAKE_NONCOPYABLE(DatabaseClient); |
public: |
DatabaseClient(); |
- virtual ~DatabaseClient() {} |
DECLARE_VIRTUAL_TRACE(); |
- virtual bool allowDatabase(ExecutionContext*, |
- const String& name, |
- const String& displayName, |
- unsigned estimatedSize) = 0; |
+ bool allowDatabase(ExecutionContext*, |
+ const String& name, |
+ const String& displayName, |
+ unsigned estimatedSize); |
void didOpenDatabase(Database*, |
const String& domain, |