Index: util/win/exception_handler_server_test.cc |
diff --git a/util/win/exception_handler_server_test.cc b/util/win/exception_handler_server_test.cc |
index 0d87086b8d7ac0f94f9cc626dcb39c8a117c7550..9fe593b5b155c68f72f047eb2dd6a930e031c4d7 100644 |
--- a/util/win/exception_handler_server_test.cc |
+++ b/util/win/exception_handler_server_test.cc |
@@ -36,20 +36,18 @@ namespace { |
// Runs the ExceptionHandlerServer on a background thread. |
class RunServerThread : public Thread { |
public: |
- // Instantiates a thread which will invoke server->Run(delegate, pipe_name). |
+ // Instantiates a thread which will invoke server->Run(delegate). |
RunServerThread(ExceptionHandlerServer* server, |
- ExceptionHandlerServer::Delegate* delegate, |
- const std::string& pipe_name) |
- : server_(server), delegate_(delegate), pipe_name_(pipe_name) {} |
+ ExceptionHandlerServer::Delegate* delegate) |
+ : server_(server), delegate_(delegate) {} |
~RunServerThread() override {} |
private: |
// Thread: |
- void ThreadMain() override { server_->Run(delegate_, pipe_name_); } |
+ void ThreadMain() override { server_->Run(delegate_); } |
ExceptionHandlerServer* server_; |
ExceptionHandlerServer::Delegate* delegate_; |
- std::string pipe_name_; |
DISALLOW_COPY_AND_ASSIGN(RunServerThread); |
}; |
@@ -85,8 +83,8 @@ class ExceptionHandlerServerTest : public testing::Test { |
base::StringPrintf("%08x", GetCurrentProcessId())), |
server_ready_(CreateEvent(nullptr, false, false, nullptr)), |
delegate_(server_ready_.get()), |
- server_(), |
- server_thread_(&server_, &delegate_, pipe_name_) {} |
+ server_(pipe_name_), |
+ server_thread_(&server_, &delegate_) {} |
TestDelegate& delegate() { return delegate_; } |
ExceptionHandlerServer& server() { return server_; } |