| Index: Source/core/fileapi/FileList.cpp
|
| diff --git a/Source/core/fileapi/FileList.cpp b/Source/core/fileapi/FileList.cpp
|
| index 22d612b7a141b8b8b5ead4b3489c346860962260..7348b32a703412cb4c96a03ecd79a309b33c2443 100644
|
| --- a/Source/core/fileapi/FileList.cpp
|
| +++ b/Source/core/fileapi/FileList.cpp
|
| @@ -41,11 +41,13 @@ File* FileList::item(unsigned index) const
|
| return m_files[index].get();
|
| }
|
|
|
| -Vector<String> FileList::paths() const
|
| +Vector<String> FileList::pathsForUserVisibleFiles() const
|
| {
|
| Vector<String> paths;
|
| - for (unsigned i = 0; i < m_files.size(); ++i)
|
| - paths.append(m_files[i]->path());
|
| + for (unsigned i = 0; i < m_files.size(); ++i) {
|
| + if (m_files[i]->userVisibility() == File::IsUserVisible)
|
| + paths.append(m_files[i]->path());
|
| + }
|
|
|
| return paths;
|
| }
|
|
|