Chromium Code Reviews| Index: remoting/base/compressor_verbatim.cc |
| diff --git a/remoting/base/compressor_verbatim.cc b/remoting/base/compressor_verbatim.cc |
| index 7058b5257459d6496eb21018c8e674c3bacd0d9b..a2b24784265f56b6e268a70443b9e57a7a52fa66 100644 |
| --- a/remoting/base/compressor_verbatim.cc |
| +++ b/remoting/base/compressor_verbatim.cc |
| @@ -26,7 +26,7 @@ bool CompressorVerbatim::Process(const uint8* input_data, int input_size, |
| // Since we're just a memcpy, consumed and written are the same. |
| *consumed = *written = bytes_to_copy; |
| - return true; |
| + return (flush != CompressorFinish) || (output_size < bytes_to_copy); |
|
Wez
2012/02/07 01:56:31
This looks like a fix to the CompressorVerbatim?
alexeypa (please no reviews)
2012/02/15 23:06:22
Yes. It is checked in already.
|
| } |
| } // namespace remoting |