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

Unified Diff: mojo/shell/context.cc

Issue 646483009: Use scoped_ptr::Pass instead of scoped_ptr::PassAs<T>. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reflow Created 6 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
Index: mojo/shell/context.cc
diff --git a/mojo/shell/context.cc b/mojo/shell/context.cc
index e63a70963f59fec3759efb657126f6549dff116f..5d1e1353221df15d443d7a63ff89b779b540ee95 100644
--- a/mojo/shell/context.cc
+++ b/mojo/shell/context.cc
@@ -233,7 +233,7 @@ void Context::Init() {
scoped_ptr<ApplicationLoader>(new NetworkApplicationLoader()),
"network_service",
base::MessageLoop::TYPE_IO));
- application_manager_.SetLoaderForURL(loader.PassAs<ApplicationLoader>(),
+ application_manager_.SetLoaderForURL(loader.Pass(),
GURL("mojo:mojo_network_service"));
}
#endif
« no previous file with comments | « mojo/services/html_viewer/blink_input_events_type_converters.cc ('k') | mojo/shell/external_application_listener_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698