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

Unified Diff: Source/modules/indexeddb/IDBKeyRange.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/IDBKeyRange.h
diff --git a/Source/modules/indexeddb/IDBKeyRange.h b/Source/modules/indexeddb/IDBKeyRange.h
index de110b0952db504149c6c80a9b63521b749c1f15..9cdaf653cf4544a25da4e7344b19416716376eaf 100644
--- a/Source/modules/indexeddb/IDBKeyRange.h
+++ b/Source/modules/indexeddb/IDBKeyRange.h
@@ -34,7 +34,8 @@ namespace WebCore {
class ExceptionState;
-class IDBKeyRange : public GarbageCollectedFinalized<IDBKeyRange>, public ScriptWrappable {
+class IDBKeyRange FINAL : public GarbageCollectedFinalizedWillBeGarbageCollected<IDBKeyRange>, public ScriptWrappable {
+ DECLARE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(IDBKeyRange);
public:
enum LowerBoundType {
LowerBoundOpen,
@@ -52,7 +53,6 @@ public:
// Null if the script value is null or undefined, the range if it is one, otherwise tries to convert to a key and throws if it fails.
static IDBKeyRange* fromScriptValue(ExecutionContext*, const ScriptValue&, ExceptionState&);
- ~IDBKeyRange() { }
void trace(Visitor*);
// Implement the IDBKeyRange IDL

Powered by Google App Engine
This is Rietveld 408576698