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

Unified Diff: extensions/browser/api/socket/socket.h

Issue 1556783002: Convert Pass()→std::move() for CrOS extension code. (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: extensions/browser/api/socket/socket.h
diff --git a/extensions/browser/api/socket/socket.h b/extensions/browser/api/socket/socket.h
index 89295342c4a705d4aa1ec3bcdb63d24345df1664..99b02ec170ddf6a6e16261f4dfda582a5b983e94 100644
--- a/extensions/browser/api/socket/socket.h
+++ b/extensions/browser/api/socket/socket.h
@@ -66,7 +66,7 @@ class Socket : public ApiResource {
void set_firewall_hole(
scoped_ptr<AppFirewallHole, content::BrowserThread::DeleteOnUIThread>
firewall_hole) {
- firewall_hole_ = firewall_hole.Pass();
+ firewall_hole_ = std::move(firewall_hole);
}
#endif // OS_CHROMEOS
« no previous file with comments | « extensions/browser/api/socket/app_firewall_hole_manager.cc ('k') | extensions/browser/api/socket/socket_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698