diff options
Diffstat (limited to 'chromium/content/browser/renderer_host/media/media_stream_ui_proxy.cc')
-rw-r--r-- | chromium/content/browser/renderer_host/media/media_stream_ui_proxy.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/chromium/content/browser/renderer_host/media/media_stream_ui_proxy.cc b/chromium/content/browser/renderer_host/media/media_stream_ui_proxy.cc index 6d79ab45727..6cecbec2feb 100644 --- a/chromium/content/browser/renderer_host/media/media_stream_ui_proxy.cc +++ b/chromium/content/browser/renderer_host/media/media_stream_ui_proxy.cc @@ -4,7 +4,10 @@ #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" #include "content/browser/frame_host/render_frame_host_delegate.h" #include "content/browser/frame_host/render_frame_host_impl.h" @@ -129,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, |