Index: ui/shell_dialogs/select_file_dialog.cc |
diff --git a/ui/shell_dialogs/select_file_dialog.cc b/ui/shell_dialogs/select_file_dialog.cc |
index 2496ced935cc6381585f7aea3794824eebb8ab36..e0449a7b0a31c6e133796b3a798dcde12e8adec7 100644 |
--- a/ui/shell_dialogs/select_file_dialog.cc |
+++ b/ui/shell_dialogs/select_file_dialog.cc |
@@ -20,7 +20,7 @@ |
#include "ui/shell_dialogs/select_file_dialog_mac.h" |
#elif defined(OS_ANDROID) |
#include "ui/shell_dialogs/select_file_dialog_android.h" |
-#elif defined(USE_AURA) && !defined(USE_ASH) && defined(OS_LINUX) |
+#elif defined(USE_AURA) && defined(OS_LINUX) && !defined(OS_CHROMEOS) |
#include "ui/shell_dialogs/linux_shell_dialog.h" |
#endif |
@@ -76,7 +76,7 @@ scoped_refptr<SelectFileDialog> SelectFileDialog::Create( |
return dialog; |
} |
-#if defined(USE_AURA) && !defined(USE_ASH) && defined(OS_LINUX) |
+#if defined(USE_AURA) && defined(OS_LINUX) && !defined(OS_CHROMEOS) |
const ui::LinuxShellDialog* shell_dialogs = ui::LinuxShellDialog::instance(); |
if (shell_dialogs) |
return shell_dialogs->CreateSelectFileDialog(listener, policy); |