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..e9309e21badb937c00d2ff37aa19033347326dae 100644 |
--- a/chrome/browser/file_select_helper.cc |
+++ b/chrome/browser/file_select_helper.cc |
@@ -191,10 +191,10 @@ 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())); |
mmenke
2015/04/23 14:57:00
nit: Should now use 4-space indent here (4 spaces
sky
2015/04/23 16:40:39
Just run git cl format. It should do the right thi
|
if (!entry->lister_->Start()) { |
if (request_id == kFileSelectEnumerationId) |
FileSelectionCanceled(NULL); |