| Index: trunk/src/chrome/browser/file_select_helper.cc
|
| ===================================================================
|
| --- trunk/src/chrome/browser/file_select_helper.cc (revision 198849)
|
| +++ trunk/src/chrome/browser/file_select_helper.cc (working copy)
|
| @@ -8,7 +8,6 @@
|
|
|
| #include "base/bind.h"
|
| #include "base/file_util.h"
|
| -#include "base/files/file_enumerator.h"
|
| #include "base/platform_file.h"
|
| #include "base/string_util.h"
|
| #include "base/strings/string_split.h"
|
| @@ -220,7 +219,7 @@
|
| // Directory upload returns directories via a "." file, so that
|
| // empty directories are included. This util call just checks
|
| // the flags in the structure; there's no file I/O going on.
|
| - if (data.info.IsDirectory())
|
| + if (file_util::FileEnumerator::IsDirectory(data.info))
|
| entry->results_.push_back(data.path.Append(FILE_PATH_LITERAL(".")));
|
| else
|
| entry->results_.push_back(data.path);
|
|
|