| Index: remoting/client/rectangle_update_decoder.cc
|
| diff --git a/remoting/client/rectangle_update_decoder.cc b/remoting/client/rectangle_update_decoder.cc
|
| index aabbecfb5569cc913c5dd956cdf438594e477313..c6426a84e5ef302f9eaac5d85c947d7a497775af 100644
|
| --- a/remoting/client/rectangle_update_decoder.cc
|
| +++ b/remoting/client/rectangle_update_decoder.cc
|
| @@ -52,12 +52,12 @@ RectangleUpdateDecoder::RectangleUpdateDecoder(MessageLoop* message_loop,
|
| RectangleUpdateDecoder::~RectangleUpdateDecoder() {
|
| }
|
|
|
| -void RectangleUpdateDecoder::Initialize(const SessionConfig* config) {
|
| - initial_screen_size_ = gfx::Size(config->initial_resolution().width,
|
| - config->initial_resolution().height);
|
| +void RectangleUpdateDecoder::Initialize(const SessionConfig& config) {
|
| + initial_screen_size_ = gfx::Size(config.initial_resolution().width,
|
| + config.initial_resolution().height);
|
|
|
| // Initialize decoder based on the selected codec.
|
| - ChannelConfig::Codec codec = config->video_config().codec;
|
| + ChannelConfig::Codec codec = config.video_config().codec;
|
| if (codec == ChannelConfig::CODEC_VERBATIM) {
|
| TraceContext::tracer()->PrintString("Creating Verbatim decoder.");
|
| decoder_.reset(DecoderRowBased::CreateVerbatimDecoder());
|
|
|