| Index: remoting/host/remoting_me2me_host.cc
|
| diff --git a/remoting/host/remoting_me2me_host.cc b/remoting/host/remoting_me2me_host.cc
|
| index 291aba6b7d684f0c1055e574ca371e50439c8821..1f0fc5559c79b05ce102eb7ade7d38533f68a038 100644
|
| --- a/remoting/host/remoting_me2me_host.cc
|
| +++ b/remoting/host/remoting_me2me_host.cc
|
| @@ -629,8 +629,9 @@ void HostProcess::CreateAuthenticatorFactory() {
|
| scoped_ptr<PairingRegistry::Delegate> delegate =
|
| CreatePairingRegistryDelegate();
|
|
|
| - pairing_registry_ = new PairingRegistry(context_->file_task_runner(),
|
| - delegate.Pass());
|
| + if (delegate)
|
| + pairing_registry_ = new PairingRegistry(context_->file_task_runner(),
|
| + delegate.Pass());
|
| }
|
| #endif // defined(OS_WIN)
|
|
|
|
|