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

Unified Diff: chrome/browser/media/media_stream_devices_controller.cc

Issue 1551503002: Convert Pass()→std::move() in //chrome (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: chrome/browser/media/media_stream_devices_controller.cc
diff --git a/chrome/browser/media/media_stream_devices_controller.cc b/chrome/browser/media/media_stream_devices_controller.cc
index 35f7df0cb3da93186ce6cfedae4d290458a7ea0c..3c26c4e84ca8327b81808d6fdb0392ac4cef9e0f 100644
--- a/chrome/browser/media/media_stream_devices_controller.cc
+++ b/chrome/browser/media/media_stream_devices_controller.cc
@@ -5,6 +5,7 @@
#include "chrome/browser/media/media_stream_devices_controller.h"
#include <map>
+#include <utility>
#include "base/auto_reset.h"
#include "base/callback_helpers.h"
@@ -454,7 +455,7 @@ void MediaStreamDevicesController::RunCallback(
->GetMediaStreamCaptureIndicator()
->RegisterMediaStream(web_contents_, devices);
}
- base::ResetAndReturn(&callback_).Run(devices, request_result, ui.Pass());
+ base::ResetAndReturn(&callback_).Run(devices, request_result, std::move(ui));
}
void MediaStreamDevicesController::StorePermission(

Powered by Google App Engine
This is Rietveld 408576698