Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(130)

Unified Diff: Source/modules/filesystem/DirectoryReader.cpp

Issue 22436002: Replace EntryArray type by an Entry[] (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase on master Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/modules/filesystem/DOMFileSystemBase.cpp ('k') | Source/modules/filesystem/EntriesCallback.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/filesystem/DirectoryReader.cpp
diff --git a/Source/modules/filesystem/DirectoryReader.cpp b/Source/modules/filesystem/DirectoryReader.cpp
index 495875fe651200c2de78e06cc7fbed32f2ec9e54..67634cb019094e60f7a36208c78884443c2e0ee5 100644
--- a/Source/modules/filesystem/DirectoryReader.cpp
+++ b/Source/modules/filesystem/DirectoryReader.cpp
@@ -33,7 +33,7 @@
#include "core/fileapi/FileError.h"
#include "modules/filesystem/EntriesCallback.h"
-#include "modules/filesystem/EntryArray.h"
+#include "modules/filesystem/Entry.h"
#include "modules/filesystem/ErrorCallback.h"
namespace WebCore {
@@ -47,7 +47,7 @@ DirectoryReader::DirectoryReader(PassRefPtr<DOMFileSystemBase> fileSystem, const
void DirectoryReader::readEntries(PassRefPtr<EntriesCallback> entriesCallback, PassRefPtr<ErrorCallback> errorCallback)
{
if (!m_hasMoreEntries) {
- filesystem()->scheduleCallback(entriesCallback, EntryArray::create());
+ filesystem()->scheduleCallback(entriesCallback, EntryVector());
return;
}
filesystem()->readDirectory(this, m_fullPath, entriesCallback, errorCallback);
« no previous file with comments | « Source/modules/filesystem/DOMFileSystemBase.cpp ('k') | Source/modules/filesystem/EntriesCallback.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698