Index: Source/web/WebDevToolsAgentImpl.cpp |
diff --git a/Source/web/WebDevToolsAgentImpl.cpp b/Source/web/WebDevToolsAgentImpl.cpp |
index 655817ba2f6154904b77a01ad8e56d7cbba08f29..5fbc213d4a63ae2e7540a5bcd588d955aa080974 100644 |
--- a/Source/web/WebDevToolsAgentImpl.cpp |
+++ b/Source/web/WebDevToolsAgentImpl.cpp |
@@ -118,7 +118,7 @@ public: |
s_instance = instance.get(); |
v8::Isolate* isolate = V8PerIsolateData::mainThreadIsolate(); |
V8PerIsolateData* data = V8PerIsolateData::from(isolate); |
- data->setScriptDebugServer(adoptPtrWillBeNoop(new PageScriptDebugServer(instance.release(), isolate))); |
+ data->setScriptDebugServer(PageScriptDebugServer::create(instance.release(), isolate)); |
} |
static void webViewImplClosed(WebViewImpl* view) |