Index: remoting/client/rectangle_update_decoder.cc |
diff --git a/remoting/client/rectangle_update_decoder.cc b/remoting/client/rectangle_update_decoder.cc |
index 3a7fddce2d46777cc41813a2540da95798023352..4f301ceeccfbb9279f9dad799571894627ffa12a 100644 |
--- a/remoting/client/rectangle_update_decoder.cc |
+++ b/remoting/client/rectangle_update_decoder.cc |
@@ -13,7 +13,7 @@ |
#include "ppapi/cpp/image_data.h" |
#include "remoting/base/util.h" |
#include "remoting/codec/video_decoder.h" |
-#include "remoting/codec/video_decoder_row_based.h" |
+#include "remoting/codec/video_decoder_verbatim.h" |
#include "remoting/codec/video_decoder_vp8.h" |
#include "remoting/client/frame_consumer.h" |
#include "remoting/protocol/session_config.h" |
@@ -46,9 +46,7 @@ void RectangleUpdateDecoder::Initialize(const SessionConfig& config) { |
// Initialize decoder based on the selected codec. |
ChannelConfig::Codec codec = config.video_config().codec; |
if (codec == ChannelConfig::CODEC_VERBATIM) { |
- decoder_.reset(VideoDecoderRowBased::CreateVerbatimDecoder()); |
- } else if (codec == ChannelConfig::CODEC_ZIP) { |
- decoder_.reset(VideoDecoderRowBased::CreateZlibDecoder()); |
+ decoder_.reset(new VideoDecoderVerbatim()); |
} else if (codec == ChannelConfig::CODEC_VP8) { |
decoder_.reset(new VideoDecoderVp8()); |
} else { |