Index: remoting/protocol/channel_dispatcher_base.cc |
diff --git a/remoting/protocol/channel_dispatcher_base.cc b/remoting/protocol/channel_dispatcher_base.cc |
index 65450617b44f9509eb3beb986ae7024e8830555c..3d54269bb24f624666e5897ca12295a2607470f5 100644 |
--- a/remoting/protocol/channel_dispatcher_base.cc |
+++ b/remoting/protocol/channel_dispatcher_base.cc |
@@ -9,7 +9,6 @@ |
#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 { |
@@ -31,8 +30,7 @@ |
DCHECK(session); |
switch (config.transport) { |
case ChannelConfig::TRANSPORT_MUX_STREAM: |
- channel_factory_ = |
- session->GetTransportSession()->GetMultiplexedChannelFactory(); |
+ channel_factory_ = session->GetMultiplexedChannelFactory(); |
break; |
case ChannelConfig::TRANSPORT_QUIC_STREAM: |
@@ -40,8 +38,7 @@ |
break; |
case ChannelConfig::TRANSPORT_STREAM: |
- channel_factory_ = |
- session->GetTransportSession()->GetStreamChannelFactory(); |
+ channel_factory_ = session->GetTransportChannelFactory(); |
break; |
default: |