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

Unified Diff: Source/modules/quota/DeprecatedStorageInfo.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/DeprecatedStorageInfo.h
diff --git a/Source/modules/quota/DeprecatedStorageInfo.h b/Source/modules/quota/DeprecatedStorageInfo.h
index 45fc4529da84b6a5346ed8c7663f98296c09ca20..a7511bfebb4a94a7f7f29d1ae3b2e1c1fad8da15 100644
--- a/Source/modules/quota/DeprecatedStorageInfo.h
+++ b/Source/modules/quota/DeprecatedStorageInfo.h
@@ -43,7 +43,8 @@ class StorageErrorCallback;
class StorageQuotaCallback;
class StorageUsageCallback;
-class DeprecatedStorageInfo FINAL : public GarbageCollectedFinalized<DeprecatedStorageInfo>, public ScriptWrappable {
+class DeprecatedStorageInfo FINAL : public GarbageCollectedFinalizedWillBeGarbageCollected<DeprecatedStorageInfo>, public ScriptWrappable {
+ DECLARE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(DeprecatedStorageInfo);
public:
enum {
TEMPORARY,
@@ -59,8 +60,6 @@ public:
void requestQuota(ExecutionContext*, int storageType, unsigned long long newQuotaInBytes, PassOwnPtr<StorageQuotaCallback>, PassOwnPtr<StorageErrorCallback>);
- ~DeprecatedStorageInfo();
-
void trace(Visitor*);
private:

Powered by Google App Engine
This is Rietveld 408576698