| 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);
|
| }
|
|
|
| } // namespace remoting
|
|
|