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

Unified Diff: ash/mus/window_manager.cc

Issue 2154523002: Move AccessibilityDelegate ownership to ash::WmShell (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@setmediadelegate
Patch Set: fix mash_unittests Created 4 years, 5 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 | « ash/mus/shell_delegate_mus.cc ('k') | ash/shell.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/window_manager.cc
diff --git a/ash/mus/window_manager.cc b/ash/mus/window_manager.cc
index 233d25454f187a45d90d0bde519dc199ee26d78d..3ab6ea52b2d2cd7f27322188ff18ace019e9e82b 100644
--- a/ash/mus/window_manager.cc
+++ b/ash/mus/window_manager.cc
@@ -95,10 +95,9 @@ void WindowManager::Init(::ui::WindowTreeClient* window_tree_client) {
window_manager_client_->SetFrameDecorationValues(
std::move(frame_decoration_values));
- std::unique_ptr<ShellDelegate> shell_delegate(
- new ShellDelegateMus(base::MakeUnique<AppListPresenterStub>()));
- shell_.reset(new WmShellMus(std::move(shell_delegate), window_tree_client_,
- connector_));
+ std::unique_ptr<ShellDelegate> shell_delegate(new ShellDelegateMus(
+ base::MakeUnique<AppListPresenterStub>(), connector_));
+ shell_.reset(new WmShellMus(std::move(shell_delegate), window_tree_client_));
shell_->Initialize();
lookup_.reset(new WmLookupMus);
}
« no previous file with comments | « ash/mus/shell_delegate_mus.cc ('k') | ash/shell.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698