Index: remoting/protocol/channel_dispatcher_base.cc |
diff --git a/remoting/protocol/channel_dispatcher_base.cc b/remoting/protocol/channel_dispatcher_base.cc |
index 3d54269bb24f624666e5897ca12295a2607470f5..65450617b44f9509eb3beb986ae7024e8830555c 100644 |
--- a/remoting/protocol/channel_dispatcher_base.cc |
+++ b/remoting/protocol/channel_dispatcher_base.cc |
@@ -9,6 +9,7 @@ |
#include "remoting/protocol/session.h" |
#include "remoting/protocol/session_config.h" |
#include "remoting/protocol/stream_channel_factory.h" |
+#include "remoting/protocol/transport.h" |
namespace remoting { |
namespace protocol { |
@@ -30,7 +31,8 @@ void ChannelDispatcherBase::Init(Session* session, |
DCHECK(session); |
switch (config.transport) { |
case ChannelConfig::TRANSPORT_MUX_STREAM: |
- channel_factory_ = session->GetMultiplexedChannelFactory(); |
+ channel_factory_ = |
+ session->GetTransportSession()->GetMultiplexedChannelFactory(); |
break; |
case ChannelConfig::TRANSPORT_QUIC_STREAM: |
@@ -38,7 +40,8 @@ void ChannelDispatcherBase::Init(Session* session, |
break; |
case ChannelConfig::TRANSPORT_STREAM: |
- channel_factory_ = session->GetTransportChannelFactory(); |
+ channel_factory_ = |
+ session->GetTransportSession()->GetStreamChannelFactory(); |
break; |
default: |