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

Unified Diff: third_party/WebKit/Source/web/IndexedDBClientImpl.h

Issue 1865213006: Replace setIndexedDBClientCreateFunction madness with Supplements (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
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 {
+ 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

Powered by Google App Engine
This is Rietveld 408576698