Chromium Code Reviews| Index: third_party/WebKit/Source/web/IndexedDBClientImpl.h |
| diff --git a/third_party/WebKit/Source/web/IndexedDBClientImpl.h b/third_party/WebKit/Source/web/IndexedDBClientImpl.h |
| index 04a85883e221829449f85d5642256577055a2b69..06f6aab0fb55ee3ef7d692b22e0fea0231079f87 100644 |
| --- a/third_party/WebKit/Source/web/IndexedDBClientImpl.h |
| +++ b/third_party/WebKit/Source/web/IndexedDBClientImpl.h |
| @@ -41,14 +41,18 @@ class ExecutionContext; |
| // the dependency but we cannot use ChromeClient here because |
| // IndexedDBClientImpl is used by worker threads but ChromeClient works only |
| // for the main thread. |
| -class IndexedDBClientImpl final : public IndexedDBClient { |
| +class IndexedDBClientImpl final : public GarbageCollectedFinalized<IndexedDBClientImpl>, public IndexedDBClient { |
|
haraken
2016/04/09 01:12:40
This will work, but it may be a bit cleaner to mak
jsbell
2016/04/13 18:57:57
Done. Also lets me re-inline the IndexedDBClientIm
|
| + USING_GARBAGE_COLLECTED_MIXIN(IndexedDBClientImpl); |
| public: |
| static IndexedDBClient* create(); |
| + ~IndexedDBClientImpl() override; |
| + DECLARE_VIRTUAL_TRACE(); |
| + |
| bool allowIndexedDB(ExecutionContext*, const String& name) override; |
| private: |
| - IndexedDBClientImpl() { } |
| + IndexedDBClientImpl(); |
| }; |
| } // namespace blink |