Index: remoting/host/remoting_me2me_host.cc |
diff --git a/remoting/host/remoting_me2me_host.cc b/remoting/host/remoting_me2me_host.cc |
index 693150f38a8ca47ce8115ba1b303e2be068e6692..f6e4abd5385f7886cde6bf00ebfe6708fdbf2782 100644 |
--- a/remoting/host/remoting_me2me_host.cc |
+++ b/remoting/host/remoting_me2me_host.cc |
@@ -238,8 +238,10 @@ class HostProcess { |
new SignalingConnector(signal_strategy_.get())); |
} |
- if (!desktop_environment_.get()) |
- desktop_environment_ = DesktopEnvironment::Create(context_.get()); |
+ if (!desktop_environment_.get()) { |
+ desktop_environment_ = |
+ DesktopEnvironment::CreateForService(context_.get()); |
+ } |
protocol::NetworkSettings network_settings(allow_nat_traversal_); |
if (!allow_nat_traversal_) { |