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

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

Issue 1134643002: Add distinction between RGB and RGBA native texture video frames and resources (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix unit test breakage from bad merge Created 5 years, 7 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 fe3ff61921a6e9b74108a3d7fe28458370e37fa0..f44069f633ea99b1553515420e334786fca4a7e5 100644
--- a/content/browser/renderer_host/media/video_capture_controller_unittest.cc
+++ b/content/browser/renderer_host/media/video_capture_controller_unittest.cc
@@ -152,7 +152,7 @@ class VideoCaptureControllerTest : public testing::Test {
gfx::Size dimensions) {
return media::VideoFrame::WrapNativeTexture(
holder, release_cb, dimensions, gfx::Rect(dimensions), dimensions,
- base::TimeDelta(), false);
+ base::TimeDelta(), false /* allow_overlay */, true /* has_alpha */);
}
TestBrowserThreadBundle bundle_;

Powered by Google App Engine
This is Rietveld 408576698