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

Unified Diff: Source/modules/quota/StorageInfo.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/StorageInfo.h
diff --git a/Source/modules/quota/StorageInfo.h b/Source/modules/quota/StorageInfo.h
index eb6eeca6985367cec785a8b63d6e910d7d730be5..0720f0ed5ffe376dc39a961cfc3b7c9fb2cd016a 100644
--- a/Source/modules/quota/StorageInfo.h
+++ b/Source/modules/quota/StorageInfo.h
@@ -36,7 +36,8 @@
namespace WebCore {
-class StorageInfo FINAL : public GarbageCollectedFinalized<StorageInfo>, public ScriptWrappable {
+class StorageInfo FINAL : public GarbageCollectedFinalizedWillBeGarbageCollected<StorageInfo>, public ScriptWrappable {
+ DECLARE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(StorageInfo);
public:
static StorageInfo* create(unsigned long long usage, unsigned long long quota)
{
@@ -46,8 +47,6 @@ public:
unsigned long long usage() const { return m_usage; }
unsigned long long quota() const { return m_quota; }
- ~StorageInfo();
-
void trace(Visitor*) { }
private:

Powered by Google App Engine
This is Rietveld 408576698