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

Unified Diff: remoting/host/fake_host_extension.cc

Issue 1549493004: Use std::move() instead of .Pass() in remoting/host (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_not_pass
Patch Set: include <utility> 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 | « remoting/host/fake_desktop_environment.cc ('k') | remoting/host/gcd_rest_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/fake_host_extension.cc
diff --git a/remoting/host/fake_host_extension.cc b/remoting/host/fake_host_extension.cc
index 73464c19d0ce871238cee27b9dfab5f6e649fb53..3317b770ea3f4ebf0fa67412c0fd230944f5c632 100644
--- a/remoting/host/fake_host_extension.cc
+++ b/remoting/host/fake_host_extension.cc
@@ -93,8 +93,7 @@ scoped_ptr<HostExtensionSession> FakeExtension::CreateExtensionSession(
protocol::ClientStub* client_stub) {
DCHECK(!was_instantiated());
was_instantiated_ = true;
- scoped_ptr<HostExtensionSession> session(new Session(this, message_type_));
- return session.Pass();
+ return make_scoped_ptr(new Session(this, message_type_));
}
} // namespace remoting
« no previous file with comments | « remoting/host/fake_desktop_environment.cc ('k') | remoting/host/gcd_rest_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698