| Index: webkit/fileapi/file_system_origin_database.cc
|
| diff --git a/webkit/fileapi/file_system_origin_database.cc b/webkit/fileapi/file_system_origin_database.cc
|
| index a7405d957951df9092811415be71595c13698cde..fc561be5977847a351062bf2cfdcd564bb6d6eaf 100644
|
| --- a/webkit/fileapi/file_system_origin_database.cc
|
| +++ b/webkit/fileapi/file_system_origin_database.cc
|
| @@ -84,7 +84,10 @@ bool FileSystemOriginDatabase::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) {
|
|
|