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

Unified Diff: components/mus/ws/display_binding.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/display_binding.h ('k') | components/mus/ws/display_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/ws/display_binding.cc
diff --git a/components/mus/ws/display_binding.cc b/components/mus/ws/display_binding.cc
index 4f7ef03188fac5959fbb8c021a26367cd4359c17..de3df94be36724454a72b95654b6206e09b7d7ed 100644
--- a/components/mus/ws/display_binding.cc
+++ b/components/mus/ws/display_binding.cc
@@ -4,6 +4,7 @@
#include "components/mus/ws/display_binding.h"
+#include "base/memory/ptr_util.h"
#include "components/mus/ws/display.h"
#include "components/mus/ws/window_manager_access_policy.h"
#include "components/mus/ws/window_server.h"
@@ -28,7 +29,7 @@ DisplayBindingImpl::~DisplayBindingImpl() {}
WindowTree* DisplayBindingImpl::CreateWindowTree(ServerWindow* root) {
WindowTree* tree = window_server_->EmbedAtWindow(
root, user_id_, std::move(client_),
- make_scoped_ptr(new WindowManagerAccessPolicy));
+ base::WrapUnique(new WindowManagerAccessPolicy));
tree->ConfigureWindowManager();
return tree;
}
« no previous file with comments | « components/mus/ws/display_binding.h ('k') | components/mus/ws/display_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698