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

Unified Diff: chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc

Issue 2739763003: Moves maintaining ShellObservers back to Shell (Closed)
Patch Set: merge Created 3 years, 9 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/launcher/arc_app_window_launcher_controller.cc
diff --git a/chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc b/chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc
index f20d0993fa9c77fda87657e9e285bac74e690031..d6bffcdd19917853d75e8643e8ff8159873f1ab3 100644
--- a/chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc
+++ b/chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc
@@ -264,7 +264,7 @@ ArcAppWindowLauncherController::~ArcAppWindowLauncherController() {
if (observed_profile_)
StopObserving(observed_profile_);
if (observing_shell_)
- ash::WmShell::Get()->RemoveShellObserver(this);
+ ash::Shell::GetInstance()->RemoveShellObserver(this);
}
// static
@@ -398,7 +398,7 @@ void ArcAppWindowLauncherController::AttachControllerToWindowIfNeeded(
// the layout switch information.
if (!observing_shell_) {
observing_shell_ = true;
- ash::WmShell::Get()->AddShellObserver(this);
+ ash::Shell::GetInstance()->AddShellObserver(this);
}
// Check if we have controller for this task.
« no previous file with comments | « chrome/browser/ui/ash/chrome_shell_delegate.cc ('k') | chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698