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

Unified Diff: content/browser/renderer_host/p2p/socket_host_udp_unittest.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/p2p/socket_host_udp_unittest.cc
diff --git a/content/browser/renderer_host/p2p/socket_host_udp_unittest.cc b/content/browser/renderer_host/p2p/socket_host_udp_unittest.cc
index 7258eafac50dac8f06110297f79412ab12c34698..7bf0944514b25258928549b49729408ecc47b39d 100644
--- a/content/browser/renderer_host/p2p/socket_host_udp_unittest.cc
+++ b/content/browser/renderer_host/p2p/socket_host_udp_unittest.cc
@@ -5,8 +5,8 @@
#include "content/browser/renderer_host/p2p/socket_host_udp.h"
#include <stdint.h>
-
#include <deque>
+#include <utility>
#include <vector>
#include "base/logging.h"
@@ -188,7 +188,7 @@ class P2PSocketHostUdpTest : public testing::Test {
dest2_ = ParseAddress(kTestIpAddress2, kTestPort2);
scoped_ptr<rtc::Timing> timing(new FakeTiming());
- throttler_.SetTiming(timing.Pass());
+ throttler_.SetTiming(std::move(timing));
}
P2PMessageThrottler throttler_;

Powered by Google App Engine
This is Rietveld 408576698