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

Unified Diff: components/mus/ws/window_tree_host_factory.cc

Issue 1906623003: Convert //components/mus 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
« no previous file with comments | « components/mus/ws/window_tree_factory.cc ('k') | components/mus/ws/window_tree_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/ws/window_tree_host_factory.cc
diff --git a/components/mus/ws/window_tree_host_factory.cc b/components/mus/ws/window_tree_host_factory.cc
index 9e629e29b6907dfa38b13ce9e7e30e4e0d808117..c5c6cbc208b5a90beedfab24b0d81b3129012d5a 100644
--- a/components/mus/ws/window_tree_host_factory.cc
+++ b/components/mus/ws/window_tree_host_factory.cc
@@ -32,7 +32,7 @@ void WindowTreeHostFactory::CreateWindowTreeHost(
mojom::WindowTreeHostRequest host,
mojom::WindowTreeClientPtr tree_client) {
Display* display = new Display(window_server_, platform_display_init_params_);
- scoped_ptr<DisplayBindingImpl> display_binding(
+ std::unique_ptr<DisplayBindingImpl> display_binding(
new DisplayBindingImpl(std::move(host), display, user_id_,
std::move(tree_client), window_server_));
display->Init(std::move(display_binding));
« no previous file with comments | « components/mus/ws/window_tree_factory.cc ('k') | components/mus/ws/window_tree_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698