| Index: webkit/fileapi/local_file_system_operation.cc
|
| diff --git a/webkit/fileapi/local_file_system_operation.cc b/webkit/fileapi/local_file_system_operation.cc
|
| index 1bd0e521ad7e0d225328cfff44e74122a8cbaa1d..7acfb1351770591c4e6282758e1f6ebbbc1ffcbc 100644
|
| --- a/webkit/fileapi/local_file_system_operation.cc
|
| +++ b/webkit/fileapi/local_file_system_operation.cc
|
| @@ -331,7 +331,8 @@ void LocalFileSystemOperation::OpenFile(const FileSystemURL& url,
|
| (base::PLATFORM_FILE_ENUMERATE | base::PLATFORM_FILE_TEMPORARY |
|
| base::PLATFORM_FILE_HIDDEN))) {
|
| callback.Run(base::PLATFORM_FILE_ERROR_FAILED,
|
| - base::PlatformFile(), base::ProcessHandle());
|
| + base::kInvalidPlatformFileValue,
|
| + base::kNullProcessHandle);
|
| return;
|
| }
|
| if (file_flags &
|
| @@ -342,13 +343,17 @@ void LocalFileSystemOperation::OpenFile(const FileSystemURL& url,
|
| base::PLATFORM_FILE_WRITE_ATTRIBUTES)) {
|
| base::PlatformFileError result = SetUp(url, OPERATION_MODE_WRITE);
|
| if (result != base::PLATFORM_FILE_OK) {
|
| - callback.Run(result, base::PlatformFile(), base::ProcessHandle());
|
| + callback.Run(result,
|
| + base::kInvalidPlatformFileValue,
|
| + base::kNullProcessHandle);
|
| return;
|
| }
|
| } else {
|
| base::PlatformFileError result = SetUp(url, OPERATION_MODE_READ);
|
| if (result != base::PLATFORM_FILE_OK) {
|
| - callback.Run(result, base::PlatformFile(), base::ProcessHandle());
|
| + callback.Run(result,
|
| + base::kInvalidPlatformFileValue,
|
| + base::kNullProcessHandle);
|
| return;
|
| }
|
| }
|
|
|