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

Unified Diff: content/browser/media/capture/aura_window_capture_machine.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/media/capture/aura_window_capture_machine.cc
diff --git a/content/browser/media/capture/aura_window_capture_machine.cc b/content/browser/media/capture/aura_window_capture_machine.cc
index d398c6d756b86feb5baf7dc12e67eb36c9265ddb..411736f5df513ab6b6c32de3bb6af69b23a76b54 100644
--- a/content/browser/media/capture/aura_window_capture_machine.cc
+++ b/content/browser/media/capture/aura_window_capture_machine.cc
@@ -286,7 +286,7 @@ bool AuraWindowCaptureMachine::ProcessCopyOutputResponse(
texture_mailbox.sync_point()),
base::Bind(&RunSingleReleaseCallback, base::Passed(&release_callback)),
result->size(), gfx::Rect(result->size()), result->size(),
- base::TimeDelta(), false);
+ base::TimeDelta(), false /* allow_overlay */, true /* has_alpha */);
capture_frame_cb.Run(video_frame, start_time, true);
return true;
} else {
« no previous file with comments | « cc/trees/layer_tree_host_unittest_context.cc ('k') | content/browser/renderer_host/media/video_capture_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698