| Index: remoting/host/screen_recorder.h
|
| diff --git a/remoting/host/screen_recorder.h b/remoting/host/screen_recorder.h
|
| index 0426ea7a761165f822b5d2b636c7c009011528bc..3c67438d7943aa36eea4b88214185df48bca0c10 100644
|
| --- a/remoting/host/screen_recorder.h
|
| +++ b/remoting/host/screen_recorder.h
|
| @@ -180,9 +180,10 @@ class ScreenRecorder : public base::RefCountedThreadSafe<ScreenRecorder> {
|
| // be used on the capture thread.
|
| bool is_recording_;
|
|
|
| - // Flag that indicates network is being stopped. This variable should only
|
| - // be used on the network thread.
|
| + // Per-thread flags that are set when the ScreenRecorder
|
| + // stopped. They must be used on the corresponding threads only.
|
| bool network_stopped_;
|
| + bool encoder_stopped_;
|
|
|
| // Timer that calls DoCapture.
|
| base::RepeatingTimer<ScreenRecorder> capture_timer_;
|
|
|