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

Unified Diff: mojo/runner/android/android_handler_loader.cc

Issue 1552973002: Convert Pass()→std::move() in //mojo/runner/android (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 | « mojo/runner/android/android_handler.cc ('k') | mojo/runner/android/background_application_loader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/runner/android/android_handler_loader.cc
diff --git a/mojo/runner/android/android_handler_loader.cc b/mojo/runner/android/android_handler_loader.cc
index cda33cf402b7a544237890dfb8566e3b11c7751e..fa656c9c7aa4d4289a2db4784c4efd41e1ead3df 100644
--- a/mojo/runner/android/android_handler_loader.cc
+++ b/mojo/runner/android/android_handler_loader.cc
@@ -4,6 +4,8 @@
#include "mojo/runner/android/android_handler_loader.h"
+#include <utility>
+
namespace mojo {
namespace runner {
@@ -18,7 +20,7 @@ void AndroidHandlerLoader::Load(
InterfaceRequest<Application> application_request) {
DCHECK(application_request.is_pending());
application_.reset(
- new ApplicationImpl(&android_handler_, application_request.Pass()));
+ new ApplicationImpl(&android_handler_, std::move(application_request)));
}
} // namespace runner
« no previous file with comments | « mojo/runner/android/android_handler.cc ('k') | mojo/runner/android/background_application_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698