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

Unified Diff: content/browser/media/android/media_session_uma_helper.cc

Issue 1552733002: Convert Pass()→std::move() in //content (Android edition) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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/media/android/media_session_uma_helper.cc
diff --git a/content/browser/media/android/media_session_uma_helper.cc b/content/browser/media/android/media_session_uma_helper.cc
index 4752401dd984423a201a61f29700402ccc472a82..b1b50cadf5fed45722e90dda1e97848df24c2fba 100644
--- a/content/browser/media/android/media_session_uma_helper.cc
+++ b/content/browser/media/android/media_session_uma_helper.cc
@@ -4,6 +4,8 @@
#include "content/browser/media/android/media_session_uma_helper.h"
+#include <utility>
+
#include "base/metrics/histogram_base.h"
#include "base/metrics/histogram_macros.h"
#include "base/time/default_clock.h"
@@ -54,7 +56,7 @@ void MediaSessionUmaHelper::OnSessionInactive() {
void MediaSessionUmaHelper::SetClockForTest(
scoped_ptr<base::Clock> testing_clock) {
- clock_ = testing_clock.Pass();
+ clock_ = std::move(testing_clock);
}
} // namespace content
« no previous file with comments | « content/browser/media/android/browser_media_player_manager.cc ('k') | content/browser/mojo/service_registry_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698