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

Unified Diff: content/browser/renderer_host/media/video_capture_controller_unittest.cc

Issue 907113002: Reland:Refactored pixel format resize operations in media/video/capture into a function called Vide… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed size for VCC unittest. Created 5 years, 10 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/renderer_host/media/video_capture_controller_unittest.cc
diff --git a/content/browser/renderer_host/media/video_capture_controller_unittest.cc b/content/browser/renderer_host/media/video_capture_controller_unittest.cc
index aac8539951c41f301df67febfcb8915ebf98f422..d8ac2a2479234b4f79aed92ee84b830e613b8aa5 100644
--- a/content/browser/renderer_host/media/video_capture_controller_unittest.cc
+++ b/content/browser/renderer_host/media/video_capture_controller_unittest.cc
@@ -654,11 +654,12 @@ TEST_F(VideoCaptureControllerTest, DataCaptureInEachVideoFormatInSequence) {
100,
params);
ASSERT_EQ(1, controller_->GetClientCount());
- device_->OnIncomingCapturedData(data,
- 0 /* length */,
- params.requested_format,
- 0 /* rotation */,
- base::TimeTicks());
+ device_->OnIncomingCapturedData(
+ data,
+ params.requested_format.ImageAllocationSize(),
+ params.requested_format,
+ 0 /* rotation */,
+ base::TimeTicks());
EXPECT_EQ(100, controller_->RemoveClient(route, client_a_.get()));
Mock::VerifyAndClearExpectations(client_a_.get());
}
« no previous file with comments | « content/browser/renderer_host/media/video_capture_controller.cc ('k') | media/video/capture/file_video_capture_device.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698