Index: chrome/browser/ui/ash/chrome_shell_delegate.cc |
diff --git a/chrome/browser/ui/ash/chrome_shell_delegate.cc b/chrome/browser/ui/ash/chrome_shell_delegate.cc |
index b418cee58c9d97a0831a545b8c8710a53ae39c44..dd8d124015bb989b6317afe074bcb0f80e60ee04 100644 |
--- a/chrome/browser/ui/ash/chrome_shell_delegate.cc |
+++ b/chrome/browser/ui/ash/chrome_shell_delegate.cc |
@@ -432,9 +432,8 @@ bool ChromeShellDelegate::IsRunningInForcedAppMode() const { |
return chrome::IsRunningInForcedAppMode(); |
} |
-bool ChromeShellDelegate::CanShowWindowForUser(ash::WmWindow* window) const { |
- return ::CanShowWindowForUser(ash::WmWindow::GetAuraWindow(window), |
- base::Bind(&GetActiveBrowserContext)); |
+bool ChromeShellDelegate::CanShowWindowForUser(aura::Window* window) const { |
+ return ::CanShowWindowForUser(window, base::Bind(&GetActiveBrowserContext)); |
} |
bool ChromeShellDelegate::IsForceMaximizeOnFirstRun() const { |