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

Unified Diff: Source/modules/indexeddb/DOMWindowIndexedDatabase.h

Issue 212933005: Oilpan: turn DOMWindow into a heap supplementable. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Make use of DECLARE_EMPTY_VIRTUAL_DESTRUCTOR_WILL_BE_REMOVED() 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
Index: Source/modules/indexeddb/DOMWindowIndexedDatabase.h
diff --git a/Source/modules/indexeddb/DOMWindowIndexedDatabase.h b/Source/modules/indexeddb/DOMWindowIndexedDatabase.h
index ebec8a4e78b17274b496c007db1b154afa158fcc..58bc14b21d5a9c2677c34332057339d6e1e31e29 100644
--- a/Source/modules/indexeddb/DOMWindowIndexedDatabase.h
+++ b/Source/modules/indexeddb/DOMWindowIndexedDatabase.h
@@ -35,7 +35,8 @@ namespace WebCore {
class IDBFactory;
class DOMWindow;
-class DOMWindowIndexedDatabase FINAL : public DOMWindowProperty, public Supplement<DOMWindow> {
+class DOMWindowIndexedDatabase FINAL : public NoBaseWillBeGarbageCollectedFinalized<DOMWindowIndexedDatabase>, public WillBeHeapSupplement<DOMWindow>, public DOMWindowProperty {
+ WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(DOMWindowIndexedDatabase);
public:
virtual ~DOMWindowIndexedDatabase();
static DOMWindowIndexedDatabase& from(DOMWindow&);
@@ -45,6 +46,8 @@ public:
virtual void willDestroyGlobalObjectInFrame() OVERRIDE;
virtual void willDetachGlobalObjectFromFrame() OVERRIDE;
+ void trace(Visitor*) { }
+
private:
explicit DOMWindowIndexedDatabase(DOMWindow&);
« no previous file with comments | « Source/modules/imagebitmap/ImageBitmapFactories.cpp ('k') | Source/modules/indexeddb/DOMWindowIndexedDatabase.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698