From c5219ddac893aafb507d759773fc9d3be7378464 Mon Sep 17 00:00:00 2001
From: "sergeyu@chromium.org"
 <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Date: Sat, 10 Sep 2011 17:21:00 +0000
Subject: 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
---
 remoting/protocol/video_writer.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'remoting/protocol/video_writer.cc')

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) {
-- 
cgit v1.1