| Index: remoting/host/capturer.cc
|
| diff --git a/remoting/host/capturer.cc b/remoting/host/capturer.cc
|
| index 789723ba6619c9f3b1f07cd83b63801fe582b9e4..331f9c753bf99dd607c4a2c974c215b19ecb8bdb 100644
|
| --- a/remoting/host/capturer.cc
|
| +++ b/remoting/host/capturer.cc
|
| @@ -43,7 +43,7 @@ void Capturer::FinishCapture(Task* done_task) {
|
| delete done_task;
|
|
|
| // Select the next buffer to be the current buffer.
|
| - current_buffer_ = ++current_buffer_ % kNumBuffers;
|
| + current_buffer_ = (current_buffer_ + 1) % kNumBuffers;
|
| }
|
|
|
| } // namespace remoting
|
|
|