| Index: webkit/fileapi/file_system_directory_database.cc
|
| diff --git a/webkit/fileapi/file_system_directory_database.cc b/webkit/fileapi/file_system_directory_database.cc
|
| index 8618b98d308d0e698dd18fd01e0cbc459cd3559d..58f5a4db29987acfe4819ce12d147e65568cb141 100644
|
| --- a/webkit/fileapi/file_system_directory_database.cc
|
| +++ b/webkit/fileapi/file_system_directory_database.cc
|
| @@ -714,7 +714,10 @@ bool FileSystemDirectoryDatabase::Init(RecoveryOption recovery_option) {
|
| }
|
| HandleError(FROM_HERE, status);
|
|
|
| - if (!status.IsCorruption())
|
| + // Corruption due to missing necessary MANIFEST-* file causes IOError instead
|
| + // of Corruption error.
|
| + // Try to repair database even when IOError case.
|
| + if (!status.IsCorruption() && !status.IsIOError())
|
| return false;
|
|
|
| switch (recovery_option) {
|
|
|