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

Unified Diff: Source/modules/quota/StorageQuota.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/quota/StorageQuota.h
diff --git a/Source/modules/quota/StorageQuota.h b/Source/modules/quota/StorageQuota.h
index 99972238c3daf6c98aade6025c47e32ac598d153..a01d1a75d54e140cecc14ba4dab8ce17528f3ed3 100644
--- a/Source/modules/quota/StorageQuota.h
+++ b/Source/modules/quota/StorageQuota.h
@@ -40,7 +40,8 @@ namespace WebCore {
class ExecutionContext;
-class StorageQuota FINAL : public GarbageCollectedFinalized<StorageQuota>, public ScriptWrappable {
+class StorageQuota FINAL : public GarbageCollectedFinalizedWillBeGarbageCollected<StorageQuota>, public ScriptWrappable {
+ DECLARE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(StorageQuota);
public:
static StorageQuota* create()
{
@@ -52,8 +53,6 @@ public:
ScriptPromise queryInfo(ScriptState*, String type);
ScriptPromise requestPersistentQuota(ScriptState*, unsigned long long newQuota);
- ~StorageQuota();
-
void trace(Visitor*) { }
private:

Powered by Google App Engine
This is Rietveld 408576698