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

Unified Diff: shell/application_manager/application_manager.cc

Issue 1408793006: Convert "return local_var.Pass();" to "return local_var;". (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 2 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 | « services/window_manager/view_target.cc ('k') | shell/application_manager/local_fetcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: shell/application_manager/application_manager.cc
diff --git a/shell/application_manager/application_manager.cc b/shell/application_manager/application_manager.cc
index 6f904601fa1f7a5ece33e82d7d4d4df4673532aa..6e7b9657786238f255fcfc1039c404c548eaafb0 100644
--- a/shell/application_manager/application_manager.cc
+++ b/shell/application_manager/application_manager.cc
@@ -271,7 +271,7 @@ InterfaceRequest<Application> ApplicationManager::RegisterShell(
shell->InitializeApplication(mojo::Array<mojo::String>::From(parameters));
ConnectToClient(shell, resolved_url, requestor_url, services.Pass(),
exposed_services.Pass());
- return application_request.Pass();
+ return application_request;
}
ShellImpl* ApplicationManager::GetShellImpl(const GURL& url) {
« no previous file with comments | « services/window_manager/view_target.cc ('k') | shell/application_manager/local_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698