Index: chrome/browser/ui/views/select_file_dialog_aura.cc |
diff --git a/chrome/browser/ui/views/select_file_dialog_aura.cc b/chrome/browser/ui/views/select_file_dialog_aura.cc |
index 74f8088a1f1c085b97494ebf8b6aa6426a5e80e9..51aa16db163c8556f5c6dbca7282fd940128960a 100644 |
--- a/chrome/browser/ui/views/select_file_dialog_aura.cc |
+++ b/chrome/browser/ui/views/select_file_dialog_aura.cc |
@@ -12,9 +12,9 @@ using content::BrowserThread; |
// static |
SelectFileDialog* SelectFileDialog::Create(Listener* listener) { |
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
-#if defined(OS_WIN) |
- return NULL; |
+#if defined(USE_ASH) && defined(FILE_MANAGER_EXTENSION) |
+ return SelectFileDialogExtension::Create(listener); |
#else |
- return new SelectFileDialogExtension(listener); |
+ return NULL; |
#endif |
} |