Index: Source/bindings/core/v8/WorkerScriptDebugServer.h |
diff --git a/Source/bindings/core/v8/WorkerScriptDebugServer.h b/Source/bindings/core/v8/WorkerScriptDebugServer.h |
index 483306406b03038546ef5a1d234a872cde55d861..be2368fa93d6bbb4e19b0845b711f261e2732223 100644 |
--- a/Source/bindings/core/v8/WorkerScriptDebugServer.h |
+++ b/Source/bindings/core/v8/WorkerScriptDebugServer.h |
@@ -32,26 +32,32 @@ |
#define WorkerScriptDebugServer_h |
#include "core/inspector/PerIsolateDebuggerClient.h" |
+#include "platform/heap/Handle.h" |
+#include "wtf/Forward.h" |
+ |
#include <v8.h> |
namespace blink { |
class WorkerGlobalScope; |
-class WorkerScriptDebugServer final : public PerIsolateDebuggerClient { |
+class WorkerScriptDebugServer final : public NoBaseWillBeGarbageCollectedFinalized<WorkerScriptDebugServer>, public PerIsolateDebuggerClient { |
WTF_MAKE_NONCOPYABLE(WorkerScriptDebugServer); |
+ WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(WorkerScriptDebugServer); |
public: |
static PassOwnPtrWillBeRawPtr<WorkerScriptDebugServer> create(WorkerGlobalScope* workerGlobalScope) |
{ |
return adoptPtrWillBeNoop(new WorkerScriptDebugServer(workerGlobalScope)); |
} |
- ~WorkerScriptDebugServer() override { } |
+ ~WorkerScriptDebugServer() override; |
static void setContextDebugData(v8::Local<v8::Context>); |
void addListener(ScriptDebugListener*); |
void removeListener(ScriptDebugListener*); |
+ DECLARE_VIRTUAL_TRACE(); |
+ |
private: |
explicit WorkerScriptDebugServer(WorkerGlobalScope*); |