| Index: remoting/host/encoder_verbatim.cc
|
| diff --git a/remoting/host/encoder_verbatim.cc b/remoting/host/encoder_verbatim.cc
|
| index 3151c72a91704ecf3020273ff1df242aac4f53fc..ce0d4056398a12476786b7530bb67a5e849d11ea 100644
|
| --- a/remoting/host/encoder_verbatim.cc
|
| +++ b/remoting/host/encoder_verbatim.cc
|
| @@ -30,7 +30,8 @@ void EncoderVerbatim::Encode(const DirtyRects& dirty_rects,
|
| EncodingState state = EncodingInProgress;
|
| if (i == 0) {
|
| state |= EncodingStarting;
|
| - } else if (i == num_rects - 1) {
|
| + }
|
| + if (i == num_rects - 1) {
|
| state |= EncodingEnded;
|
| }
|
| data_available_callback->Run(header.release(),
|
|
|