Index: content/browser/media/capture/desktop_capture_device_aura.cc |
diff --git a/content/browser/media/capture/desktop_capture_device_aura.cc b/content/browser/media/capture/desktop_capture_device_aura.cc |
index 097a5b7ed96c1465050882745b36a75f3bf953d8..39f7a07edf8216540f3a0b5f7b12889d9257d97f 100644 |
--- a/content/browser/media/capture/desktop_capture_device_aura.cc |
+++ b/content/browser/media/capture/desktop_capture_device_aura.cc |
@@ -4,6 +4,8 @@ |
#include "content/browser/media/capture/desktop_capture_device_aura.h" |
+#include <utility> |
+ |
#include "base/logging.h" |
#include "base/timer/timer.h" |
#include "content/browser/media/capture/aura_window_capture_machine.h" |
@@ -52,7 +54,7 @@ void DesktopCaptureDeviceAura::AllocateAndStart( |
const media::VideoCaptureParams& params, |
scoped_ptr<Client> client) { |
DVLOG(1) << "Allocating " << params.requested_format.frame_size.ToString(); |
- core_->AllocateAndStart(params, client.Pass()); |
+ core_->AllocateAndStart(params, std::move(client)); |
} |
void DesktopCaptureDeviceAura::StopAndDeAllocate() { |