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

Unified Diff: ash/mus/bridge/wm_shell_mus.cc

Issue 2144363003: Create ash media delegate earlier during ash shell initialization (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@shelldelegates
Patch Set: Initialize method 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
Index: ash/mus/bridge/wm_shell_mus.cc
diff --git a/ash/mus/bridge/wm_shell_mus.cc b/ash/mus/bridge/wm_shell_mus.cc
index 159124b285d49d258398ab9b49f67360d5400f54..d7eedb52f056da596baf0ebdf5e757394fc3a312 100644
--- a/ash/mus/bridge/wm_shell_mus.cc
+++ b/ash/mus/bridge/wm_shell_mus.cc
@@ -138,7 +138,6 @@ WmShellMus::WmShellMus(std::unique_ptr<ShellDelegate> shell_delegate,
CreateMruWindowTracker();
accessibility_delegate_.reset(new AccessibilityDelegateMus(connector_));
- SetMediaDelegate(base::WrapUnique(delegate()->CreateMediaDelegate()));
SetSystemTrayDelegate(base::WrapUnique(new DefaultSystemTrayDelegate));
// TODO(jamescook): Port ash::sysui::KeyboardUIMus and use it here.

Powered by Google App Engine
This is Rietveld 408576698