| 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 c411a88ef60d2b6dda00b8f40535cb2fee6e0e1c..7f3b11f848cee9d2b91e0e863318cc81fc6f7df9 100644
|
| --- a/chrome/browser/ui/ash/chrome_shell_delegate.cc
|
| +++ b/chrome/browser/ui/ash/chrome_shell_delegate.cc
|
| @@ -202,13 +202,14 @@ void ChromeShellDelegate::OpenFileManager(bool as_dialog) {
|
| Browser* browser =
|
| browser::FindBrowserWithWindow(ash::wm::GetActiveWindow());
|
| // Open the select file dialog only if there is an active browser where the
|
| - // selected file is displayed. Otherwise open a file manager in a tab.
|
| + // selected file is displayed.
|
| if (browser) {
|
| browser->OpenFile();
|
| return;
|
| }
|
| + } else {
|
| + file_manager_util::OpenApplication();
|
| }
|
| - file_manager_util::OpenApplication();
|
| #endif
|
| }
|
|
|
|
|