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

Unified Diff: content/browser/renderer_host/p2p/socket_host_throttler.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_throttler.cc
diff --git a/content/browser/renderer_host/p2p/socket_host_throttler.cc b/content/browser/renderer_host/p2p/socket_host_throttler.cc
index 0ef92eb8a6f0a1b5e283a3cf976341e7731fcdc1..daefbcc797d6993bc88492b4933a9274bcb2a41e 100644
--- a/content/browser/renderer_host/p2p/socket_host_throttler.cc
+++ b/content/browser/renderer_host/p2p/socket_host_throttler.cc
@@ -3,6 +3,9 @@
// found in the LICENSE file.
#include "content/browser/renderer_host/p2p/socket_host_throttler.h"
+
+#include <utility>
+
#include "third_party/webrtc/base/ratelimiter.h"
#include "third_party/webrtc/base/timing.h"
@@ -24,7 +27,7 @@ P2PMessageThrottler::~P2PMessageThrottler() {
}
void P2PMessageThrottler::SetTiming(scoped_ptr<rtc::Timing> timing) {
- timing_ = timing.Pass();
+ timing_ = std::move(timing);
}
void P2PMessageThrottler::SetSendIceBandwidth(int bandwidth_kbps) {
« no previous file with comments | « content/browser/renderer_host/p2p/socket_host_tcp.cc ('k') | content/browser/renderer_host/p2p/socket_host_udp_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698