Index: chrome/browser/file_select_helper.cc |
diff --git a/chrome/browser/file_select_helper.cc b/chrome/browser/file_select_helper.cc |
index 965acfa5b9aef7700749b22e342eaa603122640d..22a8fb4a866605ad216f8e3ba34418afeaa4f3cf 100644 |
--- a/chrome/browser/file_select_helper.cc |
+++ b/chrome/browser/file_select_helper.cc |
@@ -191,10 +191,8 @@ void FileSelectHelper::StartNewEnumeration(const base::FilePath& path, |
scoped_ptr<ActiveDirectoryEnumeration> entry(new ActiveDirectoryEnumeration); |
entry->rvh_ = render_view_host; |
entry->delegate_.reset(new DirectoryListerDispatchDelegate(this, request_id)); |
- entry->lister_.reset(new net::DirectoryLister(path, |
- true, |
- net::DirectoryLister::NO_SORT, |
- entry->delegate_.get())); |
+ entry->lister_.reset(new net::DirectoryLister( |
+ path, net::DirectoryLister::NO_SORT_RECURSIVE, entry->delegate_.get())); |
if (!entry->lister_->Start()) { |
if (request_id == kFileSelectEnumerationId) |
FileSelectionCanceled(NULL); |