Index: Source/core/inspector/PromiseTracker.h |
diff --git a/Source/core/inspector/PromiseTracker.h b/Source/core/inspector/PromiseTracker.h |
index db1dd97191e51ea9f2c50c98b37fc83d002e10cb..d3f0b96aa4876cf7a0ca3b2f61be6f500a5f7fab 100644 |
--- a/Source/core/inspector/PromiseTracker.h |
+++ b/Source/core/inspector/PromiseTracker.h |
@@ -20,9 +20,8 @@ namespace blink { |
class ScriptState; |
class ScriptValue; |
-class PromiseTracker final : public NoBaseWillBeGarbageCollected<PromiseTracker> { |
+class PromiseTracker final : public NoBaseWillBeGarbageCollectedFinalized<PromiseTracker> { |
WTF_MAKE_NONCOPYABLE(PromiseTracker); |
- DECLARE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(PromiseTracker); |
public: |
class Listener : public WillBeGarbageCollectedMixin { |
public: |
@@ -35,6 +34,8 @@ public: |
return adoptPtrWillBeNoop(new PromiseTracker(listener, isolate)); |
} |
+ ~PromiseTracker(); |
+ |
bool isEnabled() const { return m_isEnabled; } |
void setEnabled(bool enabled, bool captureStacks); |
void clear(); |