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

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

Issue 188633002: Query the preferred readback config in CopyFromBackingStore (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix for test build issue. Created 6 years, 9 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.cc
diff --git a/content/browser/media/capture/web_contents_video_capture_device.cc b/content/browser/media/capture/web_contents_video_capture_device.cc
index 093703e145c051b790873ae35219ea0e7fab8114..1cf232388850fa13a07c6dd561fa414ac01cbb90 100644
--- a/content/browser/media/capture/web_contents_video_capture_device.cc
+++ b/content/browser/media/capture/web_contents_video_capture_device.cc
@@ -671,7 +671,10 @@ void WebContentsCaptureMachine::Capture(
fitted_size, // Size here is a request not always honored.
base::Bind(&WebContentsCaptureMachine::DidCopyFromBackingStore,
weak_ptr_factory_.GetWeakPtr(),
- start_time, target, deliver_frame_cb));
+ start_time,
+ target,
+ deliver_frame_cb),
+ SkBitmap::kARGB_8888_Config);
}
}

Powered by Google App Engine
This is Rietveld 408576698