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

Unified Diff: services/js/content_handler_main.cc

Issue 2069663002: Some scoped_ptr -> std::unique_ptr conversion, especially under //mojo. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 6 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/dart/content_handler_app.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/js/content_handler_main.cc
diff --git a/services/js/content_handler_main.cc b/services/js/content_handler_main.cc
index dfd1610f2aee961bdced04664f78ea64ccbba33c..9cafa0180d16c1b03ef1c3e46cea1f8b35609626 100644
--- a/services/js/content_handler_main.cc
+++ b/services/js/content_handler_main.cc
@@ -38,11 +38,12 @@ class JsContentHandler : public mojo::ApplicationImplBase,
}
// Overridden from mojo::ContentHandlerFactory::ManagedDelegate:
- scoped_ptr<mojo::ContentHandlerFactory::HandledApplicationHolder>
+ std::unique_ptr<mojo::ContentHandlerFactory::HandledApplicationHolder>
CreateApplication(
mojo::InterfaceRequest<mojo::Application> application_request,
mojo::URLResponsePtr response) override {
- return make_scoped_ptr(
+ return std::unique_ptr<
+ mojo::ContentHandlerFactory::HandledApplicationHolder>(
new JSApp(application_request.Pass(), response.Pass()));
}
« no previous file with comments | « services/dart/content_handler_app.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698