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

Unified Diff: services/ui/ws/window_tree.cc

Issue 2365753003: mus ws: Move 'reset(new' to base::MakeUnique. (Closed)
Patch Set: Merge with tot Created 4 years, 3 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/ui/ws/window_server.cc ('k') | services/ui/ws/window_tree_client_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/window_tree.cc
diff --git a/services/ui/ws/window_tree.cc b/services/ui/ws/window_tree.cc
index 9d030735e490e6a374e44fa33e33b30871929a61..acc185e80cc66b4094ba312a5676be64de034e43 100644
--- a/services/ui/ws/window_tree.cc
+++ b/services/ui/ws/window_tree.cc
@@ -130,7 +130,7 @@ void WindowTree::ConfigureWindowManager() {
DCHECK(!window_manager_internal_);
window_manager_internal_ = binding_->GetWindowManager();
window_manager_internal_->OnConnect(id_);
- window_manager_state_.reset(new WindowManagerState(this));
+ window_manager_state_ = base::MakeUnique<WindowManagerState>(this);
}
const ServerWindow* WindowTree::GetWindow(const WindowId& id) const {
« no previous file with comments | « services/ui/ws/window_server.cc ('k') | services/ui/ws/window_tree_client_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698