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

Unified Diff: media/capture/video/video_capture_device.cc

Issue 2686763002: [Mojo Video Capture] Split OnIncomingCapturedVideoFrame() to OnNewBuffer() and OnFrameReadyInBuffer( (Closed)
Patch Set: Put clone_traits.h in component "bindings" instead of source_set "struct_traits" Created 3 years, 10 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: media/capture/video/video_capture_device.cc
diff --git a/media/capture/video/video_capture_device.cc b/media/capture/video/video_capture_device.cc
index bb441d3a95c3b0cf46b52b57f8c6c934375675d2..c94fddf7a80a50bb0f46013d3533f159c1421ef6 100644
--- a/media/capture/video/video_capture_device.cc
+++ b/media/capture/video/video_capture_device.cc
@@ -13,17 +13,17 @@
namespace media {
-VideoCaptureDevice::Client::Buffer::Buffer() : id_(0), frame_feedback_id_(0) {}
+VideoCaptureDevice::Client::Buffer::Buffer() : id(0), frame_feedback_id(0) {}
VideoCaptureDevice::Client::Buffer::Buffer(
int buffer_id,
int frame_feedback_id,
std::unique_ptr<HandleProvider> handle_provider,
std::unique_ptr<ScopedAccessPermission> access_permission)
- : handle_provider_(std::move(handle_provider)),
- access_permission_(std::move(access_permission)),
- id_(buffer_id),
- frame_feedback_id_(frame_feedback_id) {}
+ : id(buffer_id),
+ frame_feedback_id(frame_feedback_id),
+ handle_provider(std::move(handle_provider)),
+ access_permission(std::move(access_permission)) {}
VideoCaptureDevice::Client::Buffer::Buffer(
VideoCaptureDevice::Client::Buffer&& other) = default;

Powered by Google App Engine
This is Rietveld 408576698