diff --git a/test/cctest/test_inspector_socket_server.cc b/test/cctest/test_inspector_socket_server.cc index 7d5d0929def..451fbbd6acf 100644 --- a/test/cctest/test_inspector_socket_server.cc +++ b/test/cctest/test_inspector_socket_server.cc @@ -301,11 +301,11 @@ class ServerHolder { class TestSocketServerDelegate : public SocketServerDelegate { public: - explicit TestSocketServerDelegate( - ServerHolder* server, - const std::vector& target_ids) + explicit TestSocketServerDelegate(ServerHolder* server, + const std::vector& target_ids) : harness_(server), targets_(target_ids), + server_(nullptr), session_id_(0) {} ~TestSocketServerDelegate() override {