Index: remoting/client/chromoting_client.cc |
diff --git a/remoting/client/chromoting_client.cc b/remoting/client/chromoting_client.cc |
index 1f7165ab5db91f8a8a5b2f59b467e9bf7f02e8c3..37b0d6cc7d0ea1743761b90d7ca5d85be5429602 100644 |
--- a/remoting/client/chromoting_client.cc |
+++ b/remoting/client/chromoting_client.cc |
@@ -74,9 +74,9 @@ void ChromotingClient::Start( |
DCHECK(!protocol_config_->ice_supported()); |
#if defined(OS_NACL) |
Sergey Ulanov
2016/03/16 21:01:18
Please see my previous comment. We no longer need
|
LOG(FATAL) << "WebRTC is not supported in webapp."; |
-#else // defined(OS_NACL) |
+#elif defined(ENABLE_WEBRTC_REMOTING_CLIENT) // defined(OS_NACL) |
connection_.reset(new protocol::WebrtcConnectionToHost()); |
-#endif // !defined(OS_NACL) |
+#endif // !defined(OS_NACL) && !defined(ENABLE_WEBRTC_REMOTING_CLIENT) |
} else { |
DCHECK(protocol_config_->ice_supported()); |
connection_.reset(new protocol::IceConnectionToHost()); |