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

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: 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 24f20737aae427e5d41b3aac38f35b956d76eb69..feaf35b2529a3a2cee81a6b11fc27ebe594d97eb 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,8 @@ class VideoCaptureControllerTest : public testing::Test {
gfx::Size dimensions) {
return media::VideoFrame::WrapNativeTexture(
holder.Pass(), release_cb, dimensions, gfx::Rect(dimensions),
- dimensions, base::TimeDelta(), false);
+ dimensions, base::TimeDelta(), false /* allow_overlay */,
+ true /* has_alpha */);
}
TestBrowserThreadBundle bundle_;

Powered by Google App Engine
This is Rietveld 408576698