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

Unified Diff: content/browser/mojo/mojo_app_connection_impl.cc

Issue 1874893002: Convert //content/browser from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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: content/browser/mojo/mojo_app_connection_impl.cc
diff --git a/content/browser/mojo/mojo_app_connection_impl.cc b/content/browser/mojo/mojo_app_connection_impl.cc
index b2941e2a5dc17cf8dfbded0d91c51a428f0e3f50..8e4cd8c5f66a1407e20435d6fb58662351c8add6 100644
--- a/content/browser/mojo/mojo_app_connection_impl.cc
+++ b/content/browser/mojo/mojo_app_connection_impl.cc
@@ -20,11 +20,11 @@ void OnGotInstanceID(mojo::shell::mojom::ConnectResult result,
} // namespace
// static
-scoped_ptr<MojoAppConnection> MojoAppConnection::Create(
+std::unique_ptr<MojoAppConnection> MojoAppConnection::Create(
const std::string& user_id,
const std::string& name,
const std::string& requestor_name) {
- return scoped_ptr<MojoAppConnection>(
+ return std::unique_ptr<MojoAppConnection>(
new MojoAppConnectionImpl(user_id, name, requestor_name));
}
« no previous file with comments | « content/browser/memory/memory_pressure_controller_impl_browsertest.cc ('k') | content/browser/mojo/mojo_application_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698