| Index: content/browser/media/capture/web_contents_video_capture_device.cc
|
| diff --git a/content/browser/media/capture/web_contents_video_capture_device.cc b/content/browser/media/capture/web_contents_video_capture_device.cc
|
| index d258238ef7e97762740a5c88a48ce5dbab96c9b2..7d2277ec4f07bc55036bdb9646026ffa3074f9e4 100644
|
| --- a/content/browser/media/capture/web_contents_video_capture_device.cc
|
| +++ b/content/browser/media/capture/web_contents_video_capture_device.cc
|
| @@ -877,6 +877,9 @@ void WebContentsCaptureMachine::RenewFrameSubscription(bool had_target) {
|
| subscription_.reset(new ContentCaptureSubscription(
|
| *rwh, oracle_proxy_, base::Bind(&WebContentsCaptureMachine::Capture,
|
| weak_ptr_factory_.GetWeakPtr())));
|
| + // Whenever the target changes, capture a refresh frame immediately to make
|
| + // sure the latest frame in the video stream has the correct content.
|
| + subscription_->MaybeCaptureForRefresh();
|
| }
|
| }
|
|
|
|
|