Index: chrome/browser/chromeos/ui/app_launch_view.cc |
diff --git a/chrome/browser/chromeos/ui/app_launch_view.cc b/chrome/browser/chromeos/ui/app_launch_view.cc |
index f5354f3c71e3a1ffb3412b97725dd1546c4325b4..9b8da567fce331571620521948a22137b08ee9b7 100644 |
--- a/chrome/browser/chromeos/ui/app_launch_view.cc |
+++ b/chrome/browser/chromeos/ui/app_launch_view.cc |
@@ -78,7 +78,7 @@ void AppLaunchView::UpdateAppLaunchState(AppLaunchState state) { |
// static |
void AppLaunchView::CloseAppLaunchSplashScreen() { |
if (g_instance) { |
- g_instance->Close(); |
+ g_instance->GetWidget()->Close(); |
g_instance = NULL; |
} |
} |
@@ -120,11 +120,6 @@ void AppLaunchView::Show() { |
ShowWindow(); |
} |
-void AppLaunchView::Close() { |
- DCHECK(GetWidget()); |
- GetWidget()->Close(); |
-} |
- |
void AppLaunchView::AddChildWebContents() { |
content::BrowserContext* context = |
ash::Shell::GetInstance()->delegate()->GetCurrentBrowserContext(); |