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

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

Issue 367113005: Remove destructors from ScriptWrappable objects in modules/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add Finalizable transition type Created 6 years, 6 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/IDBFactory.h
diff --git a/Source/modules/indexeddb/IDBFactory.h b/Source/modules/indexeddb/IDBFactory.h
index 2f3ea0d541e2c4515f3621eadcb6d67a57adf9e9..c2f86a25c2df95557ee0f15f4ea9da6cb9758d1d 100644
--- a/Source/modules/indexeddb/IDBFactory.h
+++ b/Source/modules/indexeddb/IDBFactory.h
@@ -41,13 +41,13 @@ class IDBKey;
class IDBKeyRange;
class ExecutionContext;
-class IDBFactory : public GarbageCollectedFinalized<IDBFactory>, public ScriptWrappable {
+class IDBFactory FINAL : public GarbageCollectedFinalizedWillBeGarbageCollected<IDBFactory>, public ScriptWrappable {
+ DECLARE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(IDBFactory);
public:
static IDBFactory* create(IndexedDBClient* client)
{
return new IDBFactory(client);
}
- ~IDBFactory();
void trace(Visitor*);
IDBRequest* getDatabaseNames(ScriptState*, ExceptionState&);

Powered by Google App Engine
This is Rietveld 408576698