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

Unified Diff: media/capture/video/mac/video_capture_device_decklink_mac.mm

Issue 1579863003: Convert Pass()→std::move() for Mac build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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/mac/video_capture_device_decklink_mac.mm
diff --git a/media/capture/video/mac/video_capture_device_decklink_mac.mm b/media/capture/video/mac/video_capture_device_decklink_mac.mm
index 5df132dd62dc9da53b794ef16d4dd10ea5284f8a..3841be64f27cc6d4efcb1079082264ad1b4cfe4f 100644
--- a/media/capture/video/mac/video_capture_device_decklink_mac.mm
+++ b/media/capture/video/mac/video_capture_device_decklink_mac.mm
@@ -4,6 +4,8 @@
#include "media/capture/video/mac/video_capture_device_decklink_mac.h"
+#include <utility>
+
#include "base/logging.h"
#include "base/macros.h"
#include "base/memory/ref_counted.h"
@@ -477,7 +479,7 @@ void VideoCaptureDeviceDeckLinkMac::AllocateAndStart(
const VideoCaptureParams& params,
scoped_ptr<VideoCaptureDevice::Client> client) {
DCHECK(thread_checker_.CalledOnValidThread());
- client_ = client.Pass();
+ client_ = std::move(client);
if (decklink_capture_delegate_.get())
decklink_capture_delegate_->AllocateAndStart(params);
}
« no previous file with comments | « device/serial/serial_device_enumerator_mac.cc ('k') | media/capture/video/mac/video_capture_device_factory_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698