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

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

Issue 986823002: De-dupe copy requests for tab capture in DelegatedFrameHost. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove redundant portion of new test. Created 5 years, 9 months 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/content_video_capture_device_core.cc
diff --git a/content/browser/media/capture/content_video_capture_device_core.cc b/content/browser/media/capture/content_video_capture_device_core.cc
index c43c623db08a204d7371f16eae45b88bedab01d0..b57dda27f20a8929c3e6f1e019312002ecc7e9da 100644
--- a/content/browser/media/capture/content_video_capture_device_core.cc
+++ b/content/browser/media/capture/content_video_capture_device_core.cc
@@ -210,6 +210,8 @@ void ThreadSafeCaptureOracle::DidCaptureFrame(
media::VideoFrameMetadata::CAPTURE_END_TIME, base::TimeTicks::Now());
client_->OnIncomingCapturedVideoFrame(buffer, frame, timestamp);
}
+ } else {
+ oracle_.CaptureAbortedOrFailed(frame_number);
}
}

Powered by Google App Engine
This is Rietveld 408576698