summaryrefslogtreecommitdiffstats
path: root/extensions/shell/browser/media_capture_util.cc
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/shell/browser/media_capture_util.cc')
-rw-r--r--extensions/shell/browser/media_capture_util.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/extensions/shell/browser/media_capture_util.cc b/extensions/shell/browser/media_capture_util.cc
index d8a11a8..6f4660c 100644
--- a/extensions/shell/browser/media_capture_util.cc
+++ b/extensions/shell/browser/media_capture_util.cc
@@ -5,6 +5,7 @@
#include "extensions/shell/browser/media_capture_util.h"
#include <string>
+#include <utility>
#include "base/callback.h"
#include "base/logging.h"
@@ -64,10 +65,9 @@ void GrantMediaStreamRequest(content::WebContents* web_contents,
// TODO(jamescook): Should we show a recording icon somewhere? If so, where?
scoped_ptr<MediaStreamUI> ui;
- callback.Run(devices,
- devices.empty() ? content::MEDIA_DEVICE_INVALID_STATE
- : content::MEDIA_DEVICE_OK,
- ui.Pass());
+ callback.Run(devices, devices.empty() ? content::MEDIA_DEVICE_INVALID_STATE
+ : content::MEDIA_DEVICE_OK,
+ std::move(ui));
}
void VerifyMediaAccessPermission(content::MediaStreamType type,