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

Unified Diff: Source/bindings/core/v8/WorkerScriptDebugServer.cpp

Issue 1131263009: Oilpan: fix build after r195134. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: disable trace() impl, non-Oilpan Created 5 years, 7 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/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);

Powered by Google App Engine
This is Rietveld 408576698