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

Unified Diff: services/video_capture/device_media_to_mojo_adapter.cc

Issue 2518143004: [Mojo Video Capture] Replace RESOURCE_UTILIZATION with interface ReceiverLoadObserver (Closed)
Patch Set: Fixes for failing bots Created 4 years, 1 month 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: services/video_capture/device_media_to_mojo_adapter.cc
diff --git a/services/video_capture/device_media_to_mojo_adapter.cc b/services/video_capture/device_media_to_mojo_adapter.cc
index 4ee48082e0b958105c031143758a0ed40c91aeb1..346a8f997bd231fc2a509e9ef785ea86a05bff41 100644
--- a/services/video_capture/device_media_to_mojo_adapter.cc
+++ b/services/video_capture/device_media_to_mojo_adapter.cc
@@ -43,7 +43,8 @@ void DeviceMediaToMojoAdapter::Start(const CaptureSettings& requested_settings,
kMaxBufferCount));
auto device_client = base::MakeUnique<media::VideoCaptureDeviceClient>(
- std::move(media_receiver), buffer_pool, jpeg_decoder_factory_callback_);
+ std::move(media_receiver), buffer_pool, jpeg_decoder_factory_callback_,
+ base::ThreadTaskRunnerHandle::Get());
device_->AllocateAndStart(params, std::move(device_client));
device_running_ = true;

Powered by Google App Engine
This is Rietveld 408576698