Index: media/capture/video/mac/video_capture_device_mac.mm |
diff --git a/media/capture/video/mac/video_capture_device_mac.mm b/media/capture/video/mac/video_capture_device_mac.mm |
index 00e1c00342ccac4128460f5244fda52283d0661c..ec6fcaf83f9279d46beea362f6b16a9814607456 100644 |
--- a/media/capture/video/mac/video_capture_device_mac.mm |
+++ b/media/capture/video/mac/video_capture_device_mac.mm |
@@ -11,6 +11,7 @@ |
#include <stdint.h> |
#include <limits> |
+#include <utility> |
#include "base/bind.h" |
#include "base/location.h" |
@@ -377,7 +378,7 @@ void VideoCaptureDeviceMac::AllocateAndStart( |
if (!AVFoundationGlue::IsAVFoundationSupported()) |
GetBestMatchSupportedResolution(&resolution); |
- client_ = client.Pass(); |
+ client_ = std::move(client); |
if (device_name_.capture_api_type() == Name::AVFOUNDATION) |
LogMessage("Using AVFoundation for device: " + device_name_.name()); |
else |