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

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

Issue 2045813003: Decouple capture timestamp and reference time (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nit Created 4 years, 6 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/web_contents_video_capture_device_unittest.cc
diff --git a/content/browser/media/capture/web_contents_video_capture_device_unittest.cc b/content/browser/media/capture/web_contents_video_capture_device_unittest.cc
index 4f06d89421ce24be0173e557456740b908f8bc30..9193125b961e44894121bd40ffccbc1212d73658 100644
--- a/content/browser/media/capture/web_contents_video_capture_device_unittest.cc
+++ b/content/browser/media/capture/web_contents_video_capture_device_unittest.cc
@@ -372,8 +372,7 @@ class StubClient : public media::VideoCaptureDevice::Client {
void OnIncomingCapturedVideoFrame(
std::unique_ptr<Buffer> buffer,
- const scoped_refptr<media::VideoFrame>& frame,
- base::TimeTicks reference_time) override {
+ const scoped_refptr<media::VideoFrame>& frame) override {
EXPECT_FALSE(frame->visible_rect().IsEmpty());
EXPECT_EQ(media::PIXEL_FORMAT_I420, frame->format());
double frame_rate = 0;

Powered by Google App Engine
This is Rietveld 408576698