Index: remoting/host/remoting_me2me_host.cc |
diff --git a/remoting/host/remoting_me2me_host.cc b/remoting/host/remoting_me2me_host.cc |
index 0c2c2349a447a1b8ef61aa8533dea04a0fd5efbc..824e1cf08107d4c71e377798b26156baed76c072 100644 |
--- a/remoting/host/remoting_me2me_host.cc |
+++ b/remoting/host/remoting_me2me_host.cc |
@@ -276,8 +276,10 @@ class HostProcess : public OAuthClient::Delegate { |
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_) { |