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

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

Issue 2712743007: Use 'delegating constructor' in WindowManagerWindowTreeFactory (Closed)
Patch Set: Created 3 years, 10 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/window_manager_window_tree_factory.cc
diff --git a/services/ui/ws/window_manager_window_tree_factory.cc b/services/ui/ws/window_manager_window_tree_factory.cc
index 9b8a55e0526bc3e29ea23e93023b32409d85f813..26be4b7058d9d418b5de9321ca9834bb928de035 100644
--- a/services/ui/ws/window_manager_window_tree_factory.cc
+++ b/services/ui/ws/window_manager_window_tree_factory.cc
@@ -16,11 +16,8 @@ WindowManagerWindowTreeFactory::WindowManagerWindowTreeFactory(
WindowManagerWindowTreeFactorySet* window_manager_window_tree_factory_set,
const UserId& user_id,
mojo::InterfaceRequest<mojom::WindowManagerWindowTreeFactory> request)
- : window_manager_window_tree_factory_set_(
- window_manager_window_tree_factory_set),
- user_id_(user_id),
- binding_(this),
- window_tree_(nullptr) {
+ : WindowManagerWindowTreeFactory(window_manager_window_tree_factory_set,
+ user_id) {
if (request.is_pending())
binding_.Bind(std::move(request));
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698