| Index: Source/bindings/core/v8/WorkerScriptDebugServer.cpp
|
| diff --git a/Source/bindings/core/v8/WorkerScriptDebugServer.cpp b/Source/bindings/core/v8/WorkerScriptDebugServer.cpp
|
| index fb36be16505507f6afc3c0289db617c90e53e66e..41b5a0d1fba6c823d788b0660a4a1fd056eea9d0 100644
|
| --- a/Source/bindings/core/v8/WorkerScriptDebugServer.cpp
|
| +++ b/Source/bindings/core/v8/WorkerScriptDebugServer.cpp
|
| @@ -44,12 +44,22 @@ namespace blink {
|
| static const char* workerContextDebugId = "[worker]";
|
|
|
| WorkerScriptDebugServer::WorkerScriptDebugServer(WorkerGlobalScope* workerGlobalScope)
|
| - : PerIsolateDebuggerClient(v8::Isolate::GetCurrent(), adoptPtr(new ScriptDebugServer(v8::Isolate::GetCurrent(), this)))
|
| - , m_listener(0)
|
| + : PerIsolateDebuggerClient(v8::Isolate::GetCurrent(), ScriptDebugServer::create(v8::Isolate::GetCurrent(), this))
|
| + , m_listener(nullptr)
|
| , m_workerGlobalScope(workerGlobalScope)
|
| {
|
| }
|
|
|
| +WorkerScriptDebugServer::~WorkerScriptDebugServer()
|
| +{
|
| +}
|
| +
|
| +DEFINE_TRACE(WorkerScriptDebugServer)
|
| +{
|
| + visitor->trace(m_workerGlobalScope);
|
| + PerIsolateDebuggerClient::trace(visitor);
|
| +}
|
| +
|
| void WorkerScriptDebugServer::setContextDebugData(v8::Local<v8::Context> context)
|
| {
|
| ScriptDebugServer::setContextDebugData(context, workerContextDebugId);
|
|
|