Index: content/browser/renderer_host/media/media_stream_ui_proxy.cc |
diff --git a/content/browser/renderer_host/media/media_stream_ui_proxy.cc b/content/browser/renderer_host/media/media_stream_ui_proxy.cc |
index 4e4f442c6f92101379c4bf6a360a14faf6fa23c1..6cecbec2febfe5263abd0b11401e27b22ec71146 100644 |
--- a/content/browser/renderer_host/media/media_stream_ui_proxy.cc |
+++ b/content/browser/renderer_host/media/media_stream_ui_proxy.cc |
@@ -4,6 +4,8 @@ |
#include "content/browser/renderer_host/media/media_stream_ui_proxy.h" |
+#include <utility> |
+ |
#include "base/command_line.h" |
#include "base/macros.h" |
#include "content/browser/frame_host/frame_tree_node.h" |
@@ -130,7 +132,7 @@ void MediaStreamUIProxy::Core::ProcessAccessRequestResponse( |
scoped_ptr<MediaStreamUI> stream_ui) { |
DCHECK_CURRENTLY_ON(BrowserThread::UI); |
- ui_ = stream_ui.Pass(); |
+ ui_ = std::move(stream_ui); |
BrowserThread::PostTask( |
BrowserThread::IO, FROM_HERE, |
base::Bind(&MediaStreamUIProxy::ProcessAccessRequestResponse, |