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 d36e816ccedce70c81d27bad9cfccb2e38517286..f32565a2f3e26f0d1cc65db4ab6f1a6ddf180caf 100644 |
--- a/content/browser/media/capture/web_contents_video_capture_device.cc |
+++ b/content/browser/media/capture/web_contents_video_capture_device.cc |
@@ -664,6 +664,9 @@ void WebContentsCaptureMachine::RenewFrameSubscription(bool is_still_tracking) { |
view->GetWeakPtr(), oracle_proxy_, |
base::Bind(&WebContentsCaptureMachine::Capture, |
weak_ptr_factory_.GetWeakPtr()))); |
+ // Capture a refresh frame immediately to make sure the latest frame in the |
+ // video stream has the correct content. |
+ subscription_->MaybeCaptureForRefresh(); |
} |
void WebContentsCaptureMachine::UpdateCaptureSize() { |