Index: chrome/service/service_process.cc |
diff --git a/chrome/service/service_process.cc b/chrome/service/service_process.cc |
index ee5bdf93ae3d78b9c71742c210e291b7e55b14c6..3699555e9efc7b24bd97cce7baa7c5a51b94bad6 100644 |
--- a/chrome/service/service_process.cc |
+++ b/chrome/service/service_process.cc |
@@ -273,8 +273,8 @@ bool ServiceProcess::StartChromotingHost() { |
chromoting_context_->Start(); |
// Create a chromoting host object. |
- chromoting_host_ = new remoting::ChromotingHost(chromoting_context_.get(), |
- chromoting_config_); |
+ chromoting_host_ = remoting::ChromotingHost::Create(chromoting_context_.get(), |
+ chromoting_config_); |
// Then start the chromoting host. |
// When ChromotingHost is shutdown because of failure or a request that |