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

Unified Diff: components/mus/ws/window_manager_factory_registry.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_manager_factory_registry.h ('k') | components/mus/ws/window_manager_state.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/ws/window_manager_factory_registry.cc
diff --git a/components/mus/ws/window_manager_factory_registry.cc b/components/mus/ws/window_manager_factory_registry.cc
index b5c7df580b7556af29033ec7761d10e2405ab550..453c1c68579c73a251f64f336d59dd9a14cd2e6f 100644
--- a/components/mus/ws/window_manager_factory_registry.cc
+++ b/components/mus/ws/window_manager_factory_registry.cc
@@ -29,7 +29,7 @@ void WindowManagerFactoryRegistry::Register(
if (ContainsServiceForUser(user_id))
return;
- scoped_ptr<WindowManagerFactoryService> service(
+ std::unique_ptr<WindowManagerFactoryService> service(
new WindowManagerFactoryService(this, user_id, std::move(request)));
AddServiceImpl(std::move(service));
}
@@ -53,7 +53,7 @@ void WindowManagerFactoryRegistry::RemoveObserver(
}
void WindowManagerFactoryRegistry::AddServiceImpl(
- scoped_ptr<WindowManagerFactoryService> service) {
+ std::unique_ptr<WindowManagerFactoryService> service) {
services_.push_back(std::move(service));
}
« no previous file with comments | « components/mus/ws/window_manager_factory_registry.h ('k') | components/mus/ws/window_manager_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698