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

Unified Diff: media/cast/test/sender.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/cast/test/receiver.cc ('k') | media/cast/test/simulator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/test/sender.cc
diff --git a/media/cast/test/sender.cc b/media/cast/test/sender.cc
index 4eab2a2245e389aab8d14c82d16759464631644d..206bfb5fb2036cb399bb34b27384e6f2ec681898 100644
--- a/media/cast/test/sender.cc
+++ b/media/cast/test/sender.cc
@@ -6,8 +6,8 @@
// or read from a file.
#include <stdint.h>
-
#include <queue>
+#include <utility>
#include "base/at_exit.h"
#include "base/base_paths.h"
@@ -127,19 +127,15 @@ void WriteLogsToFileAndDestroySubscribers(
video_event_subscriber->GetEventsAndReset(
&log_metadata, &frame_events, &packet_events);
- DumpLoggingData(log_metadata,
- frame_events,
- packet_events,
- video_log_file.Pass());
+ DumpLoggingData(log_metadata, frame_events, packet_events,
+ std::move(video_log_file));
VLOG(0) << "Dumping logging data for audio stream.";
audio_event_subscriber->GetEventsAndReset(
&log_metadata, &frame_events, &packet_events);
- DumpLoggingData(log_metadata,
- frame_events,
- packet_events,
- audio_log_file.Pass());
+ DumpLoggingData(log_metadata, frame_events, packet_events,
+ std::move(audio_log_file));
}
void WriteStatsAndDestroySubscribers(
« no previous file with comments | « media/cast/test/receiver.cc ('k') | media/cast/test/simulator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698