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

Unified Diff: media/blink/key_system_config_selector.cc

Issue 1544313002: Convert Pass()→std::move() in //media (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
« no previous file with comments | « media/blink/cdm_session_adapter.cc ('k') | media/blink/multibuffer_data_source.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/blink/key_system_config_selector.cc
diff --git a/media/blink/key_system_config_selector.cc b/media/blink/key_system_config_selector.cc
index 2d1577e31ec310f55027ed4e8d5f4166ff1a8b76..2b8316ae2c02e7cf8a7c604b426d10f859a96960 100644
--- a/media/blink/key_system_config_selector.cc
+++ b/media/blink/key_system_config_selector.cc
@@ -2,9 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "key_system_config_selector.h"
+#include "media/blink/key_system_config_selector.h"
#include <stddef.h>
+#include <utility>
#include "base/bind.h"
#include "base/logging.h"
@@ -705,7 +706,7 @@ void KeySystemConfigSelector::SelectConfig(
request->are_secure_codecs_supported = are_secure_codecs_supported;
request->succeeded_cb = succeeded_cb;
request->not_supported_cb = not_supported_cb;
- SelectConfigInternal(request.Pass());
+ SelectConfigInternal(std::move(request));
}
void KeySystemConfigSelector::SelectConfigInternal(
@@ -778,7 +779,7 @@ void KeySystemConfigSelector::OnPermissionResult(
bool is_permission_granted) {
request->was_permission_requested = true;
request->is_permission_granted = is_permission_granted;
- SelectConfigInternal(request.Pass());
+ SelectConfigInternal(std::move(request));
}
} // namespace media
« no previous file with comments | « media/blink/cdm_session_adapter.cc ('k') | media/blink/multibuffer_data_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698