Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(991)

Unified Diff: content/browser/media/capture/web_contents_video_capture_device.cc

Issue 2604833003: Revert of Tab (and AuraWindow) Capture: Capture refresh frame after Resume() (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 7d2277ec4f07bc55036bdb9646026ffa3074f9e4..d258238ef7e97762740a5c88a48ce5dbab96c9b2 100644
--- a/content/browser/media/capture/web_contents_video_capture_device.cc
+++ b/content/browser/media/capture/web_contents_video_capture_device.cc
@@ -877,9 +877,6 @@
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();
}
}

Powered by Google App Engine
This is Rietveld 408576698