Index: chrome/browser/extensions/api/file_system/file_system_api.cc |
diff --git a/chrome/browser/extensions/api/file_system/file_system_api.cc b/chrome/browser/extensions/api/file_system/file_system_api.cc |
index 58e9bfb5ba6ed19eef5e8b4194ea9deecca840f6..988d8025b9d7b0e89753fac6d5897e9d82fd918f 100644 |
--- a/chrome/browser/extensions/api/file_system/file_system_api.cc |
+++ b/chrome/browser/extensions/api/file_system/file_system_api.cc |
@@ -1149,19 +1149,16 @@ bool FileSystemRetainEntryFunction::RunAsync() { |
.Append(base::FilePath::FromUTF8Unsafe(filesystem_path))); |
content::BrowserThread::PostTask( |
- content::BrowserThread::IO, |
- FROM_HERE, |
+ content::BrowserThread::IO, FROM_HERE, |
base::Bind( |
base::IgnoreResult( |
&storage::FileSystemOperationRunner::GetMetadata), |
- context->operation_runner()->AsWeakPtr(), |
- url, |
+ context->operation_runner()->AsWeakPtr(), url, |
+ storage::FileSystemOperation::GET_METADATA_FIELD_IS_DIRECTORY, |
base::Bind( |
&PassFileInfoToUIThread, |
base::Bind(&FileSystemRetainEntryFunction::RetainFileEntry, |
- this, |
- entry_id, |
- path)))); |
+ this, entry_id, path)))); |
return true; |
} |