Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(229)

Unified Diff: content/browser/renderer_host/media/media_stream_ui_proxy.cc

Issue 1545243002: Convert Pass()→std::move() in //content/browser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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,

Powered by Google App Engine
This is Rietveld 408576698