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

Unified Diff: chrome/browser/ui/ash/media_delegate_chromeos.cc

Issue 2098023002: mash: Migrate remaining tray observers and notify functions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync and rebase. 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
Index: chrome/browser/ui/ash/media_delegate_chromeos.cc
diff --git a/chrome/browser/ui/ash/media_delegate_chromeos.cc b/chrome/browser/ui/ash/media_delegate_chromeos.cc
index 9e638b65a1313f5837d42ae6b9a119489466e7ab..d7533e7bdaabfb8a48026676bf21ea111e4e9abb 100644
--- a/chrome/browser/ui/ash/media_delegate_chromeos.cc
+++ b/chrome/browser/ui/ash/media_delegate_chromeos.cc
@@ -4,9 +4,9 @@
#include "chrome/browser/ui/ash/media_delegate_chromeos.h"
+#include "ash/common/system/tray/system_tray_notifier.h"
+#include "ash/common/wm_shell.h"
#include "ash/content/shell_content_state.h"
-#include "ash/shell.h"
-#include "ash/system/tray/system_tray_notifier.h"
#include "base/location.h"
#include "base/message_loop/message_loop.h"
#include "base/single_thread_task_runner.h"
@@ -162,7 +162,5 @@ void MediaDelegateChromeOS::OnRequestUpdate(
}
void MediaDelegateChromeOS::NotifyMediaCaptureChange() {
- ash::Shell::GetInstance()
- ->system_tray_notifier()
- ->NotifyMediaCaptureChanged();
+ ash::WmShell::Get()->system_tray_notifier()->NotifyMediaCaptureChanged();
}

Powered by Google App Engine
This is Rietveld 408576698