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

Unified Diff: Source/modules/quota/DeprecatedStorageQuota.cpp

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/DeprecatedStorageQuota.cpp
diff --git a/Source/modules/quota/DeprecatedStorageQuota.cpp b/Source/modules/quota/DeprecatedStorageQuota.cpp
index 6bbdea7499937a3d5e9dc69e9f1cafdac147c98e..b90ebca11e530497841382319b34ed9684cb38bf 100644
--- a/Source/modules/quota/DeprecatedStorageQuota.cpp
+++ b/Source/modules/quota/DeprecatedStorageQuota.cpp
@@ -52,6 +52,8 @@ DeprecatedStorageQuota::DeprecatedStorageQuota(Type type)
ScriptWrappable::init(this);
}
+DEFINE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(DeprecatedStorageQuota);
+
void DeprecatedStorageQuota::queryUsageAndQuota(ExecutionContext* executionContext, PassOwnPtr<StorageUsageCallback> successCallback, PassOwnPtr<StorageErrorCallback> errorCallback)
{
ASSERT(executionContext);
@@ -94,8 +96,4 @@ void DeprecatedStorageQuota::requestQuota(ExecutionContext* executionContext, un
client->requestQuota(executionContext, storageType, newQuotaInBytes, successCallback, errorCallback);
}
-DeprecatedStorageQuota::~DeprecatedStorageQuota()
-{
-}
-
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698