Index: Source/core/inspector/AsyncCallStackTracker.h |
diff --git a/Source/core/inspector/AsyncCallStackTracker.h b/Source/core/inspector/AsyncCallStackTracker.h |
index 75c9ec6a2cdebbd5ded7aba92084d779a7d19721..d5a0226fa616a3ca6e4379f427a83d981e8668ff 100644 |
--- a/Source/core/inspector/AsyncCallStackTracker.h |
+++ b/Source/core/inspector/AsyncCallStackTracker.h |
@@ -53,11 +53,12 @@ class MutationObserver; |
class ThreadableLoaderClient; |
class XMLHttpRequest; |
-class AsyncCallStackTracker final : public NoBaseWillBeGarbageCollected<AsyncCallStackTracker>, public InspectorDebuggerAgent::AsyncCallTrackingListener { |
+class AsyncCallStackTracker final : public NoBaseWillBeGarbageCollectedFinalized<AsyncCallStackTracker>, public InspectorDebuggerAgent::AsyncCallTrackingListener { |
WTF_MAKE_NONCOPYABLE(AsyncCallStackTracker); |
- DECLARE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(AsyncCallStackTracker); |
+ WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(AsyncCallStackTracker); |
public: |
AsyncCallStackTracker(InspectorDebuggerAgent*, InstrumentingAgents*); |
+ virtual ~AsyncCallStackTracker(); |
// InspectorDebuggerAgent::AsyncCallTrackingListener implementation: |
void asyncCallTrackingStateChanged(bool tracking) override; |
@@ -111,7 +112,7 @@ private: |
using ExecutionContextDataMap = WillBeHeapHashMap<RawPtrWillBeMember<ExecutionContext>, OwnPtrWillBeMember<ExecutionContextData>>; |
ExecutionContextDataMap m_executionContextDataMap; |
- InspectorDebuggerAgent* m_debuggerAgent; |
+ RawPtrWillBeMember<InspectorDebuggerAgent> m_debuggerAgent; |
RawPtrWillBeMember<InstrumentingAgents> m_instrumentingAgents; |
}; |