summaryrefslogtreecommitdiffstats
path: root/remoting/protocol/video_writer.cc
diff options
context:
space:
mode:
authorsergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-10 17:21:00 +0000
committersergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-10 17:21:00 +0000
commitc5219ddac893aafb507d759773fc9d3be7378464 (patch)
tree8daec0c05116eae3bf1b584d64ccb828b35d99df /remoting/protocol/video_writer.cc
parent540de66ae2fdf5dcd213ed5c72b414dc7e90047a (diff)
downloadchromium_src-c5219ddac893aafb507d759773fc9d3be7378464.zip
chromium_src-c5219ddac893aafb507d759773fc9d3be7378464.tar.gz
chromium_src-c5219ddac893aafb507d759773fc9d3be7378464.tar.bz2
Pass SessionConfig by reference instead of pointer.
BUG=88600 TEST=Unittests Review URL: http://codereview.chromium.org/7796026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100587 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/protocol/video_writer.cc')
-rw-r--r--remoting/protocol/video_writer.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/remoting/protocol/video_writer.cc b/remoting/protocol/video_writer.cc
index f0d4a53..8ebf285 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) {