Index: remoting/protocol/video_writer.cc |
diff --git a/remoting/protocol/video_writer.cc b/remoting/protocol/video_writer.cc |
index f0d4a537ca3690f6e387a773a26a94f8cf48b2f0..8ebf2850832960b034d74e55cf6cfc820c77a9a9 100644 |
--- a/remoting/protocol/video_writer.cc |
+++ b/remoting/protocol/video_writer.cc |
@@ -15,8 +15,8 @@ VideoWriter::~VideoWriter() { } |
// static |
VideoWriter* VideoWriter::Create(base::MessageLoopProxy* message_loop, |
- const SessionConfig* config) { |
- const ChannelConfig& video_config = config->video_config(); |
+ const SessionConfig& config) { |
+ const ChannelConfig& video_config = config.video_config(); |
if (video_config.transport == ChannelConfig::TRANSPORT_SRTP) { |
return new RtpVideoWriter(message_loop); |
} else if (video_config.transport == ChannelConfig::TRANSPORT_STREAM) { |