Index: content/child/fileapi/file_system_dispatcher.cc |
diff --git a/content/child/fileapi/file_system_dispatcher.cc b/content/child/fileapi/file_system_dispatcher.cc |
index d6c6303d2267ace03bd69bca66766a7daba68968..1e69c82faeb4bf429a52b88c1c1b8255b3804b74 100644 |
--- a/content/child/fileapi/file_system_dispatcher.cc |
+++ b/content/child/fileapi/file_system_dispatcher.cc |
@@ -390,7 +390,8 @@ void FileSystemDispatcher::OnDidReadDirectory( |
CallbackDispatcher* dispatcher = dispatchers_.Lookup(request_id); |
DCHECK(dispatcher); |
dispatcher->DidReadDirectory(entries, has_more); |
- dispatchers_.Remove(request_id); |
+ if (!has_more) |
+ dispatchers_.Remove(request_id); |
} |
void FileSystemDispatcher::OnDidFail( |