| Index: base/files/file_posix.cc
|
| diff --git a/base/files/file_posix.cc b/base/files/file_posix.cc
|
| index e8b4d778b5530cad2054f866df7729a71f9b4064..a37de53280378c13aae9974ed9acccfa4bf259c0 100644
|
| --- a/base/files/file_posix.cc
|
| +++ b/base/files/file_posix.cc
|
| @@ -147,7 +147,7 @@ void File::InitializeUnsafe(const FilePath& name, uint32 flags) {
|
| if (!open_flags && !(flags & FLAG_OPEN) && !(flags & FLAG_OPEN_ALWAYS)) {
|
| NOTREACHED();
|
| errno = EOPNOTSUPP;
|
| - error_ = FILE_ERROR_FAILED;
|
| + error_details_ = FILE_ERROR_FAILED;
|
| return;
|
| }
|
|
|
| @@ -198,9 +198,9 @@ void File::InitializeUnsafe(const FilePath& name, uint32 flags) {
|
| unlink(name.value().c_str());
|
|
|
| if (descriptor >= 0)
|
| - error_ = FILE_OK;
|
| + error_details_ = FILE_OK;
|
| else
|
| - error_ = File::OSErrorToFileError(errno);
|
| + error_details_ = File::OSErrorToFileError(errno);
|
|
|
| file_ = descriptor;
|
| }
|
|
|