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

Unified Diff: ash/mus/window_manager_application.h

Issue 2107383003: ash/mus: Store the InterfaceRequest<>s directly in the vector. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 | ash/mus/window_manager_application.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/window_manager_application.h
diff --git a/ash/mus/window_manager_application.h b/ash/mus/window_manager_application.h
index ceb88aeac9d8c2fc20ab33d84a1bf2b93e00e300..ebb1b9a51b3e7ff951e7959f23e10eddb90dbbd6 100644
--- a/ash/mus/window_manager_application.h
+++ b/ash/mus/window_manager_application.h
@@ -106,7 +106,7 @@ class WindowManagerApplication
// time |shelf_layout_requests_| stores pending interface requests.
std::unique_ptr<ShelfLayoutImpl> shelf_layout_;
mojo::BindingSet<mojom::ShelfLayout> shelf_layout_bindings_;
- std::vector<std::unique_ptr<mojo::InterfaceRequest<mojom::ShelfLayout>>>
+ std::vector<mojo::InterfaceRequest<mojom::ShelfLayout>>
shelf_layout_requests_;
// |user_window_controller_| is created once OnEmbed() is called. Until that
@@ -114,8 +114,7 @@ class WindowManagerApplication
std::unique_ptr<UserWindowControllerImpl> user_window_controller_;
mojo::BindingSet<mojom::UserWindowController>
user_window_controller_bindings_;
- std::vector<
- std::unique_ptr<mojo::InterfaceRequest<mojom::UserWindowController>>>
+ std::vector<mojo::InterfaceRequest<mojom::UserWindowController>>
user_window_controller_requests_;
std::unique_ptr<WindowManager> window_manager_;
« no previous file with comments | « no previous file | ash/mus/window_manager_application.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698