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

Unified Diff: extensions/browser/api/socket/socket_api.cc

Issue 1556783002: Convert Pass()→std::move() for CrOS extension code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 months 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 | « extensions/browser/api/socket/socket.h ('k') | extensions/browser/api/vpn_provider/vpn_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/api/socket/socket_api.cc
diff --git a/extensions/browser/api/socket/socket_api.cc b/extensions/browser/api/socket/socket_api.cc
index 156449ff63d830a95879cc234ffc0255d5b86074..b5499e3112b136a8f2c125933ca9879cf222f8e9 100644
--- a/extensions/browser/api/socket/socket_api.cc
+++ b/extensions/browser/api/socket/socket_api.cc
@@ -4,6 +4,7 @@
#include "extensions/browser/api/socket/socket_api.h"
+#include <utility>
#include <vector>
#include "base/bind.h"
@@ -164,7 +165,7 @@ void SocketAsyncApiFunction::OnFirewallHoleOpened(
return;
}
- socket->set_firewall_hole(hole.Pass());
+ socket->set_firewall_hole(std::move(hole));
AsyncWorkCompleted();
}
« no previous file with comments | « extensions/browser/api/socket/socket.h ('k') | extensions/browser/api/vpn_provider/vpn_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698